Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 55.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09615, allocations: 53.38 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2002/0.2964, allocations: 26.84 MB / 453.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02732/0.3237, allocations: 24.99 MB / 478.9 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004125/0.3241, allocations: 9.344 kB / 478.9 MB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.325, allocations: 309.2 kB / 479.2 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008047/0.3258, allocations: 374.8 kB / 479.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.3378, allocations: 4.091 MB / 483.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.3393, allocations: 0.948 MB / 484.6 MB, free: 4.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.3394, allocations: 80.27 kB / 484.7 MB, free: 4.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000602/0.34, allocations: 397 kB / 485.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.3404, allocations: 333.2 kB / 485.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.3405, allocations: 36.97 kB / 485.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/0.3594, allocations: 10.5 MB / 495.9 MB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.3596, allocations: 107.6 kB / 496 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.36, allocations: 227.2 kB / 496.3 MB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02727/0.3873, allocations: 11.5 MB / 0.4959 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3873, allocations: 4 kB / 0.4959 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3873, allocations: 0 / 0.4959 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3873, allocations: 0 / 0.4959 GB, free: 15.88 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006024/0.3933, allocations: 1.18 MB / 0.497 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3934, allocations: 15.97 kB / 0.497 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.144e-05/0.3934, allocations: 8.656 kB / 0.497 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.3935, allocations: 66.53 kB / 0.4971 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/0.3941, allocations: 67.73 kB / 0.4972 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.3946, allocations: 326.4 kB / 0.4975 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3946, allocations: 24.66 kB / 0.4975 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.3946, allocations: 36.59 kB / 0.4975 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.3955, allocations: 467.7 kB / 0.498 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3955, allocations: 0 / 0.498 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.3956, allocations: 16 kB / 0.498 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3956, allocations: 8 kB / 0.498 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.3963, allocations: 383.3 kB / 0.4984 GB, free: 13.17 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.3997, allocations: 2.964 MB / 0.5013 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.4003, allocations: 271.5 kB / 0.5015 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.4005, allocations: 124.8 kB / 0.5016 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002455/0.403, allocations: 2.478 MB / 0.5041 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.403, allocations: 30.56 kB / 0.5041 GB, free: 6.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.634e-06/0.403, allocations: 0 / 0.5041 GB, free: 6.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005697/0.4087, allocations: 1.294 MB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.4088, allocations: 59.41 kB / 0.5054 GB, free: 5.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.4091, allocations: 262.5 kB / 0.5057 GB, free: 4.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.4091, allocations: 29.7 kB / 0.5057 GB, free: 4.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.4092, allocations: 200.4 kB / 0.5059 GB, free: 4.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4093, allocations: 122.9 kB / 0.506 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.4095, allocations: 82.08 kB / 0.5061 GB, free: 4.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4096, allocations: 342.8 kB / 0.5064 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.4098, allocations: 124.7 kB / 0.5065 GB, free: 3.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.4101, allocations: 222.7 kB / 0.5067 GB, free: 3.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.4107, allocations: 372.4 kB / 0.5071 GB, free: 3.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4107, allocations: 7.938 kB / 0.5071 GB, free: 3.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009134/0.4116, allocations: 466.7 kB / 0.5075 GB, free: 2.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4116, allocations: 6.344 kB / 0.5076 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4116, allocations: 4.438 kB / 0.5076 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/0.4175, allocations: 253.4 kB / 0.5078 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.4179, allocations: 91.83 kB / 0.5079 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.4194, allocations: 1.934 MB / 0.5098 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.4196, allocations: 8 kB / 0.5098 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.4196, allocations: 24.12 kB / 0.5098 GB, free: 320 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.4198, allocations: 169.7 kB / 0.51 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.42, allocations: 35.75 kB / 0.51 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.421, allocations: 0.6827 MB / 0.5107 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.421, allocations: 11.98 kB / 0.5107 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.421, allocations: 0 / 0.5107 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000867/0.4219, allocations: 0.8639 MB / 0.5115 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.4234, allocations: 1.191 MB / 0.5127 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4234, allocations: 3.984 kB / 0.5127 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.4236, allocations: 67.91 kB / 0.5128 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.4251, allocations: 172.6 kB / 0.5129 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.4252, allocations: 12.81 kB / 0.5129 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003834/0.4255, allocations: 0.5758 MB / 0.5135 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4255, allocations: 3.938 kB / 0.5135 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.4265, allocations: 0.7345 MB / 0.5142 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.4266, allocations: 112.8 kB / 0.5143 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.4267, allocations: 9.641 kB / 0.5143 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.4268, allocations: 8.812 kB / 0.5143 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.4269, allocations: 27.91 kB / 0.5144 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.4269, allocations: 15.98 kB / 0.5144 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.4272, allocations: 221.9 kB / 0.5146 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4272, allocations: 0 / 0.5146 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004189/0.4313, allocations: 0.7519 MB / 0.5153 GB, free: 10.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02446/0.4558, allocations: 7.587 MB / 0.5227 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.4569, allocations: 462 kB / 0.5232 GB, free: 2.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4569, allocations: 0 / 0.5232 GB, free: 2.344 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.4573, allocations: 208.2 kB / 0.5234 GB, free: 2.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4584, allocations: 194.4 kB / 0.5236 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00791/0.4663, allocations: 4.051 MB / 0.5275 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.4667, allocations: 0.8129 MB / 0.5283 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003896/0.4671, allocations: 191 kB / 0.5285 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.4673, allocations: 135.4 kB / 0.5286 GB, free: 12.56 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4673, allocations: 0 / 0.5286 GB, free: 12.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06268/0.53, allocations: 33.87 MB / 0.5617 GB, free: 10.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.45, allocations: 3.984 kB / 0.5617 GB, free: 10.74 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.64728572196327] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 13.626919965958223 13.640021979 13.249962503 Calling exit ...