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.001436/0.001436, allocations: 101.5 kB / 21.22 MB, free: 0.6211 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.001507/0.001507, allocations: 188.3 kB / 24.49 MB, free: 3.934 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.333/1.333, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 179] 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.001456/0.001456, allocations: 59.91 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2367, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0288/0.2655, allocations: 24.6 MB / 448 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02624/0.2918, allocations: 22.04 MB / 470 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003752/0.2921, allocations: 4 kB / 470 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008557/0.293, allocations: 270.5 kB / 470.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008995/0.2939, allocations: 381.8 kB / 470.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.3045, allocations: 4.105 MB / 474.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.3058, allocations: 0.962 MB / 475.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.306, allocations: 89.22 kB / 475.8 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006346/0.3066, allocations: 398.6 kB / 476.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.307, allocations: 322.7 kB / 476.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.3071, allocations: 36 kB / 476.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0186/0.3257, allocations: 10.36 MB / 486.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.3259, allocations: 111.6 kB / 487 MB, free: 14.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.3263, allocations: 195.4 kB / 487.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03071/0.357, allocations: 11.5 MB / 498.7 MB, free: 2.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.357, allocations: 0 / 498.7 MB, free: 2.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.357, allocations: 0 / 498.7 MB, free: 2.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.357, allocations: 0 / 498.7 MB, free: 2.824 MB / 398.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.005962/0.3629, allocations: 1.101 MB / 499.8 MB, free: 1.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.363, allocations: 12.03 kB / 499.8 MB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.33e-05/0.363, allocations: 8.656 kB / 499.8 MB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.3631, allocations: 70.53 kB / 499.9 MB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005527/0.3636, allocations: 67.73 kB / 500 MB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.3641, allocations: 264.6 kB / 0.4885 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3642, allocations: 20.66 kB / 0.4885 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.3642, allocations: 43.92 kB / 0.4886 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3652, allocations: 0.6073 MB / 0.4891 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3653, allocations: 0 / 0.4891 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.3653, allocations: 16 kB / 0.4892 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3653, allocations: 12 kB / 0.4892 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.366, allocations: 394.3 kB / 0.4896 GB, free: 84 kB / 398.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.003217/0.3693, allocations: 2.234 MB / 0.4917 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.3699, allocations: 266.8 kB / 0.492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3701, allocations: 124.8 kB / 0.4921 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.3716, allocations: 475.3 kB / 0.4926 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.3716, allocations: 34.56 kB / 0.4926 GB, free: 12.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.3716, allocations: 0 / 0.4926 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005228/0.3768, allocations: 1.152 MB / 0.4937 GB, free: 11.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3769, allocations: 55.41 kB / 0.4938 GB, free: 11.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.3772, allocations: 261.8 kB / 0.494 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.3772, allocations: 29.7 kB / 0.494 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3773, allocations: 196.4 kB / 0.4942 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3774, allocations: 130.9 kB / 0.4944 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3776, allocations: 78.12 kB / 0.4944 GB, free: 10.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3777, allocations: 338.8 kB / 0.4948 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3779, allocations: 116.8 kB / 0.4949 GB, free: 10.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.3782, allocations: 226.1 kB / 0.4951 GB, free: 10.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.3788, allocations: 370 kB / 0.4954 GB, free: 9.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3788, allocations: 0 / 0.4954 GB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000841/0.3796, allocations: 470.6 kB / 0.4959 GB, free: 9.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3796, allocations: 4 kB / 0.4959 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3796, allocations: 4 kB / 0.4959 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004994/0.3846, allocations: 241.8 kB / 0.4961 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.385, allocations: 91.83 kB / 0.4962 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.3865, allocations: 1.828 MB / 0.498 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.3867, allocations: 12 kB / 0.498 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.3867, allocations: 23.98 kB / 0.498 GB, free: 6.949 MB / 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.0002015/0.3869, allocations: 166 kB / 0.4982 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.387, allocations: 35.75 kB / 0.4982 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.3881, allocations: 0.7163 MB / 0.4989 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3881, allocations: 7.984 kB / 0.4989 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3881, allocations: 0 / 0.4989 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009093/0.389, allocations: 0.8713 MB / 0.4998 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.3905, allocations: 1.139 MB / 0.5009 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3905, allocations: 0 / 0.5009 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.3908, allocations: 63.91 kB / 0.501 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.3924, allocations: 180.5 kB / 0.5011 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.3925, allocations: 16.05 kB / 0.5011 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004263/0.3929, allocations: 0.5797 MB / 0.5017 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3929, allocations: 96 / 0.5017 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3939, allocations: 0.7421 MB / 0.5024 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.394, allocations: 31.78 kB / 0.5025 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.3941, allocations: 15.95 kB / 0.5025 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3943, allocations: 7.938 kB / 0.5025 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.3943, allocations: 27.95 kB / 0.5025 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.3943, allocations: 11.98 kB / 0.5025 GB, free: 2.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.3946, allocations: 223.1 kB / 0.5027 GB, free: 1.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3946, allocations: 0 / 0.5027 GB, free: 1.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004029/0.3986, allocations: 0.748 MB / 0.5035 GB, free: 1.168 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.02477/0.4234, allocations: 7.596 MB / 0.5109 GB, free: 9.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4244, allocations: 465.8 kB / 0.5113 GB, free: 9.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4244, allocations: 0 / 0.5113 GB, free: 9.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.4248, allocations: 219.2 kB / 0.5115 GB, free: 8.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.4259, allocations: 196.4 kB / 0.5117 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.434, allocations: 4.068 MB / 0.5157 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.4342, allocations: 200.9 kB / 0.5159 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.4346, allocations: 186.9 kB / 0.5161 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.4348, allocations: 139.4 kB / 0.5162 GB, free: 3.879 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4348, allocations: 0 / 0.5162 GB, free: 3.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/0.6859, allocations: 34.66 MB / 0.55 GB, free: 94.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.45, allocations: 12.75 kB / 0.5501 GB, free: 94.71 MB / 446.1 MB " [Timeout remaining time 645] (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: 66.87712897406891] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 14.645700386026874 14.655509155 14.296244431 Calling exit ...