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.001271/0.001271, allocations: 81.69 kB / 19.27 MB, free: 0.5859 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.001345/0.001345, allocations: 166 kB / 22.58 MB, free: 1.926 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.9303/0.9303, allocations: 177.1 MB / 202.9 MB, free: 5.688 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.6499/0.6499, allocations: 116 MB / 375.4 MB, free: 4.145 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.282e-06/1.282e-06, allocations: 0 / 0.5537 GB, free: 12.99 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.651e-05, allocations: 6.25 kB / 0.5537 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2): time 1.197/1.197, allocations: 496 MB / 1.038 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1158/1.313, allocations: 115.6 MB / 1.151 GB, free: 10.55 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02446/1.338, allocations: 1.203 MB / 1.152 GB, free: 10.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.02303/1.361, allocations: 7.563 MB / 1.16 GB, free: 4.777 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.06007/1.421, allocations: 20.88 MB / 1.18 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.03957/1.46, allocations: 15.93 MB / 1.195 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04914/1.51, allocations: 37.13 MB / 1.232 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009263/1.519, allocations: 2.678 MB / 1.234 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04787/1.567, allocations: 20.21 MB / 1.254 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02016/1.587, allocations: 11.65 MB / 1.265 GB, free: 8.844 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.006981/1.594, allocations: 1.43 MB / 1.267 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03532/1.629, allocations: 16.94 MB / 1.283 GB, free: 6.441 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.007046/1.636, allocations: 4.293 MB / 1.288 GB, free: 2.125 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01811/1.654, allocations: 7.067 MB / 1.295 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.9961/2.65, allocations: 35.02 MB / 1.329 GB, free: 74.06 MB / 0.9637 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/2.65, allocations: 4.641 kB / 1.329 GB, free: 74.06 MB / 0.9637 GB Notification: Performance of FrontEnd: time 1.843e-06/2.65, allocations: 0 / 1.329 GB, free: 74.06 MB / 0.9637 GB Notification: Performance of Transformations before backend: time 0.0009193/2.651, allocations: 0 / 1.329 GB, free: 74.06 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.04971/2.701, allocations: 23.51 MB / 1.352 GB, free: 64.62 MB / 0.9637 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/2.701, allocations: 9.453 kB / 1.352 GB, free: 64.62 MB / 0.9637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003269/2.704, allocations: 2.276 MB / 1.354 GB, free: 64.48 MB / 0.9637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/2.709, allocations: 2.699 MB / 1.357 GB, free: 63.1 MB / 0.9637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02321/2.732, allocations: 13.36 MB / 1.37 GB, free: 59.79 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003656/2.736, allocations: 12.91 MB / 1.382 GB, free: 46 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004619/2.741, allocations: 1.694 MB / 1.384 GB, free: 45.97 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02697/2.768, allocations: 17.95 MB / 1.401 GB, free: 44.82 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002276/2.768, allocations: 6.531 kB / 1.401 GB, free: 44.82 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000921/2.769, allocations: 0.6849 MB / 1.402 GB, free: 44.82 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/2.769, allocations: 418.2 kB / 1.402 GB, free: 44.82 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02266/2.792, allocations: 18.37 MB / 1.42 GB, free: 44.66 MB / 0.9637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07095/2.863, allocations: 43.17 MB / 1.463 GB, free: 35.22 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03259/2.895, allocations: 29.8 MB / 1.492 GB, free: 12.08 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01161/2.907, allocations: 9.074 MB / 1.5 GB, free: 3.133 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06232/2.969, allocations: 30.83 MB / 1.531 GB, free: 5.148 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/2.969, allocations: 301.1 kB / 1.531 GB, free: 4.844 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=2562): time 2.382e-05/2.969, allocations: 0 / 1.531 GB, free: 4.844 MB / 0.9949 GB Notification: Performance of matching and sorting (n=3402): time 0.1126/3.082, allocations: 57.65 MB / 1.587 GB, free: 13.33 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002288/3.082, allocations: 429.9 kB / 1.588 GB, free: 12.89 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01722/3.099, allocations: 13.21 MB / 1.601 GB, free: 15.78 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.00413/3.103, allocations: 0.5485 MB / 1.601 GB, free: 15.23 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004445/3.108, allocations: 7.662 MB / 1.609 GB, free: 7.566 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.009524/3.117, allocations: 11.58 MB / 1.62 GB, free: 12.14 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007048/3.124, allocations: 4.502 MB / 1.624 GB, free: 7.625 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/3.125, allocations: 304.9 kB / 1.625 GB, free: 7.328 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01759/3.142, allocations: 8.099 MB / 1.632 GB, free: 15.22 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01955/3.162, allocations: 11.71 MB / 1.644 GB, free: 2.594 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03119/3.193, allocations: 21.23 MB / 1.665 GB, free: 12.74 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/3.193, allocations: 20 kB / 1.665 GB, free: 12.72 MB / 1.136 GB Notification: Performance of matching and sorting (n=3754) (initialization): time 0.05126/3.244, allocations: 26.84 MB / 1.691 GB, free: 2.258 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.715e-05/3.244, allocations: 36 kB / 1.691 GB, free: 2.223 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/3.244, allocations: 68 kB / 1.691 GB, free: 2.156 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009175/3.254, allocations: 3.15 MB / 1.694 GB, free: 14.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0511/3.305, allocations: 15.75 MB / 1.709 GB, free: 15.54 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3509/3.656, allocations: 53.67 MB / 1.762 GB, free: 0.5551 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01648/3.672, allocations: 0.7973 MB / 1.763 GB, free: 0.5551 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004498/3.677, allocations: 1.074 MB / 1.764 GB, free: 0.5551 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.0102/3.687, allocations: 2.996 MB / 1.767 GB, free: 0.555 GB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005723/3.693, allocations: 2.597 MB / 1.769 GB, free: 0.555 GB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1094/3.802, allocations: 157.9 MB / 1.923 GB, free: 495.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001074/3.802, allocations: 293.2 kB / 1.924 GB, free: 495.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.312e-05/3.802, allocations: 18.7 kB / 1.924 GB, free: 495.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002209/3.802, allocations: 157.4 kB / 1.924 GB, free: 495.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5035/4.306, allocations: 436.3 MB / 2.35 GB, free: 59.02 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005741/4.306, allocations: 428 kB / 2.35 GB, free: 58.61 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02151/4.328, allocations: 8.605 MB / 2.359 GB, free: 50.08 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006201/4.334, allocations: 2.592 MB / 2.361 GB, free: 47.49 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003599/4.338, allocations: 1.109 MB / 2.362 GB, free: 46.38 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/4.352, allocations: 37 MB / 2.398 GB, free: 6.828 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001785/4.352, allocations: 0.6573 MB / 2.399 GB, free: 6.168 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4005/4.753, allocations: 65.52 MB / 2.463 GB, free: 0.4935 GB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009616/4.762, allocations: 4.023 MB / 2.467 GB, free: 0.4933 GB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003711/4.766, allocations: 1.132 MB / 2.468 GB, free: 0.4933 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01016/4.776, allocations: 0.9744 MB / 2.469 GB, free: 0.4933 GB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003169/4.779, allocations: 3.459 MB / 2.472 GB, free: 0.4931 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001443/4.781, allocations: 1.363 MB / 2.474 GB, free: 0.4931 GB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01028/4.791, allocations: 9.549 MB / 2.483 GB, free: 0.4926 GB / 1.182 GB Notification: Performance of sort global known variables: time 2.8e-07/4.791, allocations: 3.844 kB / 2.483 GB, free: 0.4926 GB / 1.182 GB Notification: Performance of remove unused functions: time 0.0266/4.818, allocations: 6.92 MB / 2.49 GB, free: 0.4926 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.04675/4.864, allocations: 71.22 MB / 2.559 GB, free: 443.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.03923/4.904, allocations: 24.85 MB / 2.584 GB, free: 432.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 0.0003428/4.904, allocations: 62.53 kB / 2.584 GB, free: 432.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01937/4.923, allocations: 13.3 MB / 2.597 GB, free: 426 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04842/4.972, allocations: 10.89 MB / 2.607 GB, free: 422.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3082/5.28, allocations: 226.1 MB / 2.828 GB, free: 201.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009049/5.289, allocations: 8.906 MB / 2.837 GB, free: 195.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01832/5.307, allocations: 4.531 MB / 2.841 GB, free: 191.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00978/5.317, allocations: 11.08 MB / 2.852 GB, free: 181.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.212e-06/5.317, allocations: 0 / 2.852 GB, free: 181.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9023/6.219, allocations: 0.5999 GB / 3.452 GB, free: 219.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 55.61/61.83, allocations: 0 / 3.452 GB, free: 219.5 MB / 1.182 GB " [Timeout remaining time 598] (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: 65.9622145742178] Failed to read output from testmodel.py, exit status != 0: 62.2481958353892 62.255076237 59.60275095 Calling exit ...