Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.004868/0.004868, allocations: 111.3 kB / 21.97 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 206.4 kB / 25.27 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 55.92 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2372, allocations: 49.15 MB / 397.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07073/0.3079, allocations: 66.4 MB / 463.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007213/0.3151, allocations: 5.508 MB / 469.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.3154, allocations: 11.88 kB / 469.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009567/0.3163, allocations: 358 kB / 469.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008239/0.3172, allocations: 0.5205 MB / 469.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0187/0.3359, allocations: 7.166 MB / 477.1 MB, free: 3.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.338, allocations: 1.571 MB / 478.7 MB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.3383, allocations: 153.4 kB / 478.8 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009782/0.3393, allocations: 0.6386 MB / 479.5 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007987/0.3401, allocations: 0.6034 MB / 480.1 MB, free: 140 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.3402, allocations: 84 kB / 480.1 MB, free: 56 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01947/0.3597, allocations: 10.34 MB / 490.5 MB, free: 5.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.3602, allocations: 335.1 kB / 490.8 MB, free: 5.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006206/0.3608, allocations: 430.5 kB / 491.2 MB, free: 4.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.3748, allocations: 5.943 MB / 497.2 MB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3748, allocations: 0 / 497.2 MB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3748, allocations: 0 / 497.2 MB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3748, allocations: 0 / 497.2 MB, free: 15 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003648/0.3785, allocations: 1.526 MB / 498.7 MB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3785, allocations: 15.92 kB / 498.7 MB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.633e-05/0.3785, allocations: 17.31 kB / 498.7 MB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.3787, allocations: 114.5 kB / 498.8 MB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.3791, allocations: 95.5 kB / 498.9 MB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.3797, allocations: 379.2 kB / 499.3 MB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.3798, allocations: 45.31 kB / 499.4 MB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.3799, allocations: 63.94 kB / 499.4 MB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.3816, allocations: 0.8186 MB / 0.4885 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.3816, allocations: 0 / 0.4885 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/0.3816, allocations: 28 kB / 0.4885 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.3817, allocations: 12 kB / 0.4885 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.3835, allocations: 1.04 MB / 0.4896 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.3969, allocations: 4.977 MB / 0.4944 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.3986, allocations: 0.7141 MB / 0.4951 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/0.3992, allocations: 387 kB / 0.4955 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.4094, allocations: 2.616 MB / 0.498 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.4095, allocations: 43.22 kB / 0.4981 GB, free: 1.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.4095, allocations: 0 / 0.4981 GB, free: 1.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.009409/0.4189, allocations: 3.171 MB / 0.5012 GB, free: 14.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.4189, allocations: 64.41 kB / 0.5012 GB, free: 14.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.4194, allocations: 356.4 kB / 0.5016 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.4195, allocations: 41.7 kB / 0.5016 GB, free: 14.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4196, allocations: 245.2 kB / 0.5019 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.4199, allocations: 329.2 kB / 0.5022 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.4202, allocations: 158.6 kB / 0.5023 GB, free: 13.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4203, allocations: 358.8 kB / 0.5027 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.4209, allocations: 373.8 kB / 0.503 GB, free: 12.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.4218, allocations: 0.4884 MB / 0.5035 GB, free: 12.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.4236, allocations: 0.9098 MB / 0.5044 GB, free: 11.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4236, allocations: 0 / 0.5044 GB, free: 11.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002626/0.4262, allocations: 1.117 MB / 0.5055 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4262, allocations: 4 kB / 0.5055 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4262, allocations: 4 kB / 0.5055 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/0.427, allocations: 175.5 kB / 0.5057 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.4278, allocations: 183.7 kB / 0.5058 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.4311, allocations: 3.902 MB / 0.5096 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.4316, allocations: 20.28 kB / 0.5097 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.4317, allocations: 47.98 kB / 0.5097 GB, free: 5.469 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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.0004141/0.4321, allocations: 229.5 kB / 0.5099 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.4325, allocations: 71.59 kB / 0.51 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.435, allocations: 1.281 MB / 0.5112 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.435, allocations: 8 kB / 0.5112 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.435, allocations: 0 / 0.5112 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001943/0.4369, allocations: 1.324 MB / 0.5125 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.4403, allocations: 1.924 MB / 0.5144 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4403, allocations: 8.062 kB / 0.5144 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.441, allocations: 159.8 kB / 0.5146 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.4427, allocations: 297.3 kB / 0.5149 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.4428, allocations: 27.92 kB / 0.5149 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000933/0.4437, allocations: 1.293 MB / 0.5162 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4437, allocations: 4 kB / 0.5162 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.4463, allocations: 1.429 MB / 0.5176 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.4464, allocations: 55.72 kB / 0.5176 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4466, allocations: 16 kB / 0.5176 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.4471, allocations: 31.97 kB / 0.5176 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.4472, allocations: 60.89 kB / 0.5177 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-05/0.4473, allocations: 43.97 kB / 0.5177 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.4476, allocations: 279 kB / 0.518 GB, free: 12.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4476, allocations: 0 / 0.518 GB, free: 12.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003673/0.4513, allocations: 1.411 MB / 0.5194 GB, free: 11.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009073/0.4604, allocations: 3.61 MB / 0.5229 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.4627, allocations: 1.101 MB / 0.524 GB, free: 6.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.4627, allocations: 8.125 kB / 0.524 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000997/0.4637, allocations: 479.1 kB / 0.5245 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.4658, allocations: 402.1 kB / 0.5248 GB, free: 5.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.4785, allocations: 7.06 MB / 0.5317 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.4791, allocations: 0.9167 MB / 0.5326 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007152/0.4799, allocations: 205.1 kB / 0.5328 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.4802, allocations: 231.3 kB / 0.533 GB, free: 12.93 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4802, allocations: 3.938 kB / 0.5331 GB, free: 12.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.281/0.7612, allocations: 59.08 MB / 0.5907 GB, free: 129.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.2, allocations: 8 kB / 0.5908 GB, free: 129.6 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 67.5462009430048] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.Xi[1]', 'volume1.medium.p'] 15.401389090984594 15.419959728 15.041502958 Calling exit ...