Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.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.0007574/0.0007574, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001151/0.001151, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8701/0.8701, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6238/0.6238, allocations: 116 MB / 375.2 MB, free: 4.211 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Fixed2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Fixed2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5535 GB, free: 13.13 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.994e-05, allocations: 2.281 kB / 0.5535 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2): time 0.9398/0.9398, allocations: 496 MB / 1.038 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.09455/1.034, allocations: 115.6 MB / 1.151 GB, free: 10.61 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01908/1.053, allocations: 1.209 MB / 1.152 GB, free: 10.15 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.02014/1.074, allocations: 7.559 MB / 1.159 GB, free: 4.832 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.04785/1.121, allocations: 20.87 MB / 1.18 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.03397/1.155, allocations: 15.95 MB / 1.195 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04565/1.201, allocations: 37.13 MB / 1.232 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0078/1.209, allocations: 2.675 MB / 1.234 GB, free: 8.855 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04678/1.256, allocations: 20.21 MB / 1.254 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01882/1.274, allocations: 11.64 MB / 1.265 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.006342/1.281, allocations: 1.43 MB / 1.267 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03295/1.314, allocations: 16.94 MB / 1.283 GB, free: 6.496 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.005946/1.32, allocations: 4.285 MB / 1.287 GB, free: 2.188 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01582/1.336, allocations: 7.071 MB / 1.294 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.8739/2.209, allocations: 34.99 MB / 1.328 GB, free: 74.02 MB / 0.9637 GB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/2.209, allocations: 3.625 kB / 1.328 GB, free: 74.02 MB / 0.9637 GB Notification: Performance of FrontEnd: time 2.775e-06/2.209, allocations: 0 / 1.328 GB, free: 74.02 MB / 0.9637 GB Notification: Performance of Transformations before backend: time 0.001407/2.211, allocations: 1.328 kB / 1.328 GB, free: 74.02 MB / 0.9637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4404 * Number of variables: 4404 Notification: Performance of Generate backend data structure: time 0.06513/2.276, allocations: 23.51 MB / 1.351 GB, free: 64.58 MB / 0.9637 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/2.276, allocations: 10.44 kB / 1.351 GB, free: 64.58 MB / 0.9637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007136/2.283, allocations: 2.276 MB / 1.354 GB, free: 64.43 MB / 0.9637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/2.293, allocations: 2.703 MB / 1.356 GB, free: 63.06 MB / 0.9637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02954/2.323, allocations: 12.29 MB / 1.368 GB, free: 59.74 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00506/2.328, allocations: 12.91 MB / 1.381 GB, free: 45.95 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005782/2.334, allocations: 1.691 MB / 1.383 GB, free: 45.92 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04671/2.38, allocations: 17.95 MB / 1.4 GB, free: 44.78 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001239/2.382, allocations: 11.31 kB / 1.4 GB, free: 44.78 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005639/2.387, allocations: 0.6883 MB / 1.401 GB, free: 44.77 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003391/2.388, allocations: 421.3 kB / 1.401 GB, free: 44.77 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03501/2.423, allocations: 18.36 MB / 1.419 GB, free: 44.61 MB / 0.9637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0947/2.517, allocations: 42.9 MB / 1.461 GB, free: 35.17 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04028/2.558, allocations: 29.8 MB / 1.49 GB, free: 13.51 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01765/2.575, allocations: 9.067 MB / 1.499 GB, free: 4.625 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08526/2.661, allocations: 30.63 MB / 1.529 GB, free: 6.832 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/2.661, allocations: 302.4 kB / 1.529 GB, free: 6.527 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=2562): time 2.474e-05/2.661, allocations: 0 / 1.529 GB, free: 6.527 MB / 0.9949 GB Notification: Performance of matching and sorting (n=3402): time 0.1284/2.789, allocations: 57.62 MB / 1.585 GB, free: 15.02 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/2.789, allocations: 423.7 kB / 1.586 GB, free: 14.59 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02294/2.812, allocations: 13.21 MB / 1.599 GB, free: 1.477 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.004565/2.817, allocations: 0.5473 MB / 1.599 GB, free: 0.9258 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.006564/2.823, allocations: 7.659 MB / 1.607 GB, free: 9.27 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.01011/2.834, allocations: 11.59 MB / 1.618 GB, free: 13.84 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01423/2.848, allocations: 4.502 MB / 1.622 GB, free: 9.324 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/2.848, allocations: 309.1 kB / 1.623 GB, free: 9.02 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01837/2.866, allocations: 8.089 MB / 1.631 GB, free: 0.9219 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02356/2.89, allocations: 11.71 MB / 1.642 GB, free: 4.293 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03028/2.92, allocations: 21.23 MB / 1.663 GB, free: 14.43 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/2.92, allocations: 20 kB / 1.663 GB, free: 14.41 MB / 1.136 GB Notification: Performance of matching and sorting (n=3754) (initialization): time 0.05128/2.972, allocations: 26.84 MB / 1.689 GB, free: 3.945 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-05/2.972, allocations: 32 kB / 1.689 GB, free: 3.914 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/2.972, allocations: 72 kB / 1.689 GB, free: 3.844 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009355/2.981, allocations: 3.139 MB / 1.692 GB, free: 0.6289 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0494/3.031, allocations: 15.75 MB / 1.708 GB, free: 1.234 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3236/3.354, allocations: 53.64 MB / 1.76 GB, free: 0.5581 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01531/3.369, allocations: 0.7989 MB / 1.761 GB, free: 0.5581 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005035/3.374, allocations: 1.068 MB / 1.762 GB, free: 0.5581 GB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * 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 (3610): * Single equations (assignments): 3574 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 36 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 30 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,10,100.0%), (2,9,100.0%), (2,9,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,10,100.0%), (2,9,100.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,10), (1,10), (1,10), (1,10), (1,10), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.01365/3.388, allocations: 3.005 MB / 1.765 GB, free: 0.558 GB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008652/3.397, allocations: 2.598 MB / 1.767 GB, free: 0.558 GB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1246/3.521, allocations: 157.9 MB / 1.921 GB, free: 499.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001775/3.522, allocations: 295 kB / 1.922 GB, free: 499.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001514/3.522, allocations: 15.5 kB / 1.922 GB, free: 499.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000586/3.522, allocations: 147.4 kB / 1.922 GB, free: 498.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6228/4.145, allocations: 436.1 MB / 2.348 GB, free: 59.91 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000896/4.146, allocations: 428 kB / 2.348 GB, free: 59.49 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02306/4.169, allocations: 8.599 MB / 2.357 GB, free: 50.98 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006752/4.176, allocations: 2.6 MB / 2.359 GB, free: 48.38 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004709/4.18, allocations: 1.115 MB / 2.36 GB, free: 47.27 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/4.195, allocations: 36.96 MB / 2.396 GB, free: 7.734 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001653/4.195, allocations: 0.6534 MB / 2.397 GB, free: 7.078 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3756/4.571, allocations: 65.52 MB / 2.461 GB, free: 0.4951 GB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01622/4.587, allocations: 4.018 MB / 2.465 GB, free: 0.4949 GB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009327/4.596, allocations: 1.127 MB / 2.466 GB, free: 0.4949 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01896/4.615, allocations: 0.9762 MB / 2.467 GB, free: 0.4949 GB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007036/4.622, allocations: 3.465 MB / 2.47 GB, free: 0.4943 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004382/4.627, allocations: 1.357 MB / 2.472 GB, free: 0.4943 GB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01762/4.644, allocations: 9.555 MB / 2.481 GB, free: 0.4938 GB / 1.182 GB Notification: Performance of sort global known variables: time 1.8e-07/4.644, allocations: 0 / 2.481 GB, free: 0.4938 GB / 1.182 GB Notification: Performance of remove unused functions: time 0.03259/4.677, allocations: 6.918 MB / 2.488 GB, free: 0.4938 GB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1954 * 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 simulation (3040): * Single equations (assignments): 3016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%), (1,7,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,10), (1,10), (1,10), (1,10), (1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06662/4.743, allocations: 71.23 MB / 2.557 GB, free: 444.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.03914/4.783, allocations: 24.85 MB / 2.582 GB, free: 433.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 0.0003653/4.783, allocations: 63.34 kB / 2.582 GB, free: 433.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02331/4.806, allocations: 13.29 MB / 2.595 GB, free: 427 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05822/4.864, allocations: 10.9 MB / 2.605 GB, free: 423.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3791/5.244, allocations: 226.1 MB / 2.826 GB, free: 201.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01507/5.259, allocations: 8.902 MB / 2.835 GB, free: 194.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.02707/5.286, allocations: 4.536 MB / 2.839 GB, free: 191.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01709/5.303, allocations: 11.08 MB / 2.85 GB, free: 181.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.192e-06/5.303, allocations: 0 / 2.85 GB, free: 181.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9236/6.226, allocations: 0.5988 GB / 3.449 GB, free: 219.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 53.69/59.92, allocations: 8.062 kB / 3.449 GB, free: 219.8 MB / 1.182 GB " [Timeout remaining time 600] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Fixed2_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Fixed2.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 63.83968617860228] Failed to read output from testmodel.py, exit status != 0: 60.34118348546326 60.346529603 58.135539463 Calling exit ...