Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 116.6 kB / 18.49 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 193 kB / 21.43 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.86 kB / 366.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08682, allocations: 52.13 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02907/0.1159, allocations: 26.75 MB / 445.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1888/0.3047, allocations: 24.95 MB / 470.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.305, allocations: 8.719 kB / 470.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.3058, allocations: 305.6 kB / 470.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.3065, allocations: 383.6 kB / 470.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0111/0.3176, allocations: 4.085 MB / 475 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.3187, allocations: 0.9453 MB / 475.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.319, allocations: 79.62 kB / 476 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.3197, allocations: 398 kB / 476.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.3201, allocations: 314.9 kB / 476.7 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.705e-05/0.3202, allocations: 37.12 kB / 476.7 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/0.3389, allocations: 10.48 MB / 487.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.3391, allocations: 113.5 kB / 487.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.3395, allocations: 227.5 kB / 487.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02675/0.3663, allocations: 11.49 MB / 499 MB, free: 5.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3663, allocations: 0 / 499 MB, free: 5.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3663, allocations: 0 / 499 MB, free: 5.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3663, allocations: 1.719 kB / 499 MB, free: 5.008 MB / 382.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.006141/0.3724, allocations: 1.18 MB / 0.4885 GB, free: 3.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3725, allocations: 13.28 kB / 0.4885 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.227e-05/0.3725, allocations: 8.656 kB / 0.4885 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/0.3726, allocations: 75.28 kB / 0.4886 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005498/0.3731, allocations: 67.73 kB / 0.4886 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.3736, allocations: 324.5 kB / 0.4889 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3736, allocations: 25.44 kB / 0.489 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.3736, allocations: 31.94 kB / 0.489 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.3745, allocations: 467.9 kB / 0.4894 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3745, allocations: 4.719 kB / 0.4895 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.3745, allocations: 12 kB / 0.4895 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3745, allocations: 8.812 kB / 0.4895 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.3753, allocations: 386.3 kB / 0.4898 GB, free: 2.312 MB / 382.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.003383/0.3787, allocations: 2.96 MB / 0.4927 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.3793, allocations: 276.8 kB / 0.493 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3795, allocations: 126.2 kB / 0.4931 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002419/0.3819, allocations: 2.472 MB / 0.4955 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.382, allocations: 39.91 kB / 0.4956 GB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.382, allocations: 0 / 0.4956 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005094/0.3871, allocations: 1.301 MB / 0.4968 GB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.3871, allocations: 59.41 kB / 0.4969 GB, free: 10.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3874, allocations: 258.6 kB / 0.4971 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3874, allocations: 31.42 kB / 0.4972 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3875, allocations: 188.4 kB / 0.4973 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3876, allocations: 134.9 kB / 0.4975 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3878, allocations: 78.12 kB / 0.4976 GB, free: 9.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3879, allocations: 344.5 kB / 0.4979 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3881, allocations: 112.8 kB / 0.498 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.3884, allocations: 233.4 kB / 0.4982 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.3889, allocations: 370 kB / 0.4986 GB, free: 8.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3889, allocations: 4 kB / 0.4986 GB, free: 8.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008318/0.3897, allocations: 469.4 kB / 0.499 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3898, allocations: 4 kB / 0.499 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3898, allocations: 4 kB / 0.499 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004566/0.3943, allocations: 237.4 kB / 0.4992 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.3947, allocations: 89 kB / 0.4993 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.3963, allocations: 1.946 MB / 0.5012 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3966, allocations: 8.562 kB / 0.5012 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.3967, allocations: 20 kB / 0.5013 GB, free: 5.504 MB / 398.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.0002149/0.3969, allocations: 169.6 kB / 0.5014 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.397, allocations: 35.75 kB / 0.5015 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.398, allocations: 0.6828 MB / 0.5021 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.398, allocations: 7.984 kB / 0.5021 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.398, allocations: 4 kB / 0.5021 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009792/0.399, allocations: 0.8606 MB / 0.503 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.4006, allocations: 1.191 MB / 0.5041 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4006, allocations: 0 / 0.5041 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.4009, allocations: 68.95 kB / 0.5042 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.4024, allocations: 180.5 kB / 0.5044 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.4024, allocations: 12 kB / 0.5044 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004119/0.4028, allocations: 0.568 MB / 0.5049 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.4028, allocations: 13.36 kB / 0.505 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4039, allocations: 0.7274 MB / 0.5057 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.404, allocations: 112.9 kB / 0.5058 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.404, allocations: 11.94 kB / 0.5058 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.4042, allocations: 8.688 kB / 0.5058 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.4042, allocations: 24.06 kB / 0.5058 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.4043, allocations: 19.98 kB / 0.5058 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000243/0.4045, allocations: 221.9 kB / 0.506 GB, free: 376 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4045, allocations: 0 / 0.506 GB, free: 376 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.004299/0.4088, allocations: 0.7442 MB / 0.5068 GB, free: 15.62 MB / 414.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.0257/0.4345, allocations: 7.591 MB / 0.5142 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009906/0.4355, allocations: 470.7 kB / 0.5146 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4355, allocations: 0 / 0.5146 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.4359, allocations: 205.1 kB / 0.5148 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.437, allocations: 201.8 kB / 0.515 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007975/0.4449, allocations: 4.043 MB / 0.519 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.4453, allocations: 0.8088 MB / 0.5198 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.4458, allocations: 191.6 kB / 0.5199 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.4459, allocations: 131.4 kB / 0.5201 GB, free: 1.773 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4459, allocations: 3.938 kB / 0.5201 GB, free: 1.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06411/0.5101, allocations: 33.84 MB / 0.5531 GB, free: 40 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.13, allocations: 8.047 kB / 0.5531 GB, free: 32 kB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.211340491019655] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 13.308070733968634 13.321062268 12.951947203 Calling exit ...