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.0008788/0.0008788, allocations: 81.67 kB / 19.27 MB, free: 0.6055 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.0008468/0.0008468, allocations: 166 kB / 22.57 MB, free: 1.949 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.9279/0.9279, allocations: 177.1 MB / 202.9 MB, free: 5.715 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.656/0.656, allocations: 116 MB / 375.4 MB, free: 4.148 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.914e-06/1.914e-06, allocations: 0 / 0.5537 GB, free: 13.01 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.021e-05, allocations: 2.312 kB / 0.5537 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2): time 1.104/1.104, allocations: 496 MB / 1.038 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1124/1.216, allocations: 115.6 MB / 1.151 GB, free: 10.57 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02283/1.239, allocations: 1.206 MB / 1.152 GB, free: 10.11 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.02034/1.259, allocations: 7.561 MB / 1.16 GB, free: 4.793 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.04981/1.309, allocations: 20.88 MB / 1.18 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.03536/1.345, allocations: 15.93 MB / 1.195 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04702/1.392, allocations: 37.14 MB / 1.232 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006615/1.398, allocations: 2.671 MB / 1.234 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03955/1.438, allocations: 20.21 MB / 1.254 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01856/1.456, allocations: 11.64 MB / 1.265 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.004912/1.461, allocations: 1.43 MB / 1.267 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03104/1.492, allocations: 16.94 MB / 1.283 GB, free: 6.445 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.00444/1.497, allocations: 4.289 MB / 1.288 GB, free: 2.133 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01586/1.513, allocations: 7.067 MB / 1.294 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 1.042/2.555, allocations: 34.99 MB / 1.329 GB, free: 74.01 MB / 0.9637 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/2.555, allocations: 0 / 1.329 GB, free: 74.01 MB / 0.9637 GB Notification: Performance of FrontEnd: time 2.815e-06/2.555, allocations: 2.062 kB / 1.329 GB, free: 74.01 MB / 0.9637 GB Notification: Performance of Transformations before backend: time 0.001219/2.556, allocations: 0 / 1.329 GB, free: 74.01 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.0574/2.614, allocations: 23.51 MB / 1.352 GB, free: 64.57 MB / 0.9637 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/2.614, allocations: 10.25 kB / 1.352 GB, free: 64.57 MB / 0.9637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003334/2.617, allocations: 2.277 MB / 1.354 GB, free: 64.43 MB / 0.9637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005909/2.623, allocations: 2.701 MB / 1.356 GB, free: 63.05 MB / 0.9637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02943/2.652, allocations: 13.36 MB / 1.37 GB, free: 59.73 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003841/2.656, allocations: 12.91 MB / 1.382 GB, free: 45.95 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005468/2.662, allocations: 1.691 MB / 1.384 GB, free: 45.92 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0289/2.69, allocations: 17.94 MB / 1.401 GB, free: 44.77 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004145/2.691, allocations: 15.56 kB / 1.401 GB, free: 44.77 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/2.692, allocations: 0.6858 MB / 1.402 GB, free: 44.77 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003292/2.692, allocations: 416.7 kB / 1.402 GB, free: 44.77 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/2.717, allocations: 18.37 MB / 1.42 GB, free: 44.61 MB / 0.9637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06813/2.786, allocations: 43.16 MB / 1.462 GB, free: 35.17 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03309/2.819, allocations: 29.79 MB / 1.492 GB, free: 12.02 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01221/2.831, allocations: 9.075 MB / 1.5 GB, free: 3.102 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0698/2.901, allocations: 30.67 MB / 1.53 GB, free: 5.277 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/2.901, allocations: 290.6 kB / 1.531 GB, free: 4.98 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=2562): time 2.652e-05/2.901, allocations: 4 kB / 1.531 GB, free: 4.977 MB / 0.9949 GB Notification: Performance of matching and sorting (n=3402): time 0.1158/3.017, allocations: 57.63 MB / 1.587 GB, free: 13.47 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002297/3.017, allocations: 425.8 kB / 1.587 GB, free: 13.03 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01843/3.035, allocations: 13.22 MB / 1.6 GB, free: 15.91 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.004524/3.04, allocations: 0.5456 MB / 1.601 GB, free: 15.36 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004723/3.045, allocations: 7.656 MB / 1.608 GB, free: 7.711 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.01002/3.055, allocations: 11.59 MB / 1.62 GB, free: 12.28 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006186/3.061, allocations: 4.502 MB / 1.624 GB, free: 7.762 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/3.061, allocations: 308.9 kB / 1.624 GB, free: 7.461 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01575/3.077, allocations: 8.089 MB / 1.632 GB, free: 15.36 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01846/3.095, allocations: 11.71 MB / 1.644 GB, free: 2.734 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02991/3.125, allocations: 21.23 MB / 1.664 GB, free: 12.88 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/3.125, allocations: 20 kB / 1.664 GB, free: 12.86 MB / 1.136 GB Notification: Performance of matching and sorting (n=3754) (initialization): time 0.05313/3.178, allocations: 26.85 MB / 1.691 GB, free: 2.387 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/3.178, allocations: 36.88 kB / 1.691 GB, free: 2.352 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/3.178, allocations: 68 kB / 1.691 GB, free: 2.285 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008914/3.187, allocations: 3.146 MB / 1.694 GB, free: 15.06 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05128/3.239, allocations: 15.75 MB / 1.709 GB, free: 15.67 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3273/3.566, allocations: 53.65 MB / 1.762 GB, free: 0.5553 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/3.582, allocations: 0.8035 MB / 1.762 GB, free: 0.5553 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004313/3.586, allocations: 1.069 MB / 1.763 GB, free: 0.5553 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.008616/3.595, allocations: 2.998 MB / 1.766 GB, free: 0.5552 GB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005859/3.601, allocations: 2.598 MB / 1.769 GB, free: 0.5552 GB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1083/3.709, allocations: 157.9 MB / 1.923 GB, free: 496.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.232e-05/3.709, allocations: 296.7 kB / 1.923 GB, free: 496.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-05/3.709, allocations: 19.16 kB / 1.923 GB, free: 496.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/3.709, allocations: 151.2 kB / 1.923 GB, free: 495.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5558/4.265, allocations: 436.3 MB / 2.349 GB, free: 58.45 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005815/4.266, allocations: 428 kB / 2.35 GB, free: 58.03 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02274/4.289, allocations: 8.598 MB / 2.358 GB, free: 49.52 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006594/4.295, allocations: 2.593 MB / 2.361 GB, free: 46.93 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003725/4.299, allocations: 1.116 MB / 2.362 GB, free: 45.81 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/4.313, allocations: 36.98 MB / 2.398 GB, free: 6.27 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001817/4.313, allocations: 0.6612 MB / 2.399 GB, free: 5.605 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4345/4.748, allocations: 65.52 MB / 2.463 GB, free: 0.4939 GB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01514/4.763, allocations: 4.024 MB / 2.467 GB, free: 0.4937 GB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007722/4.77, allocations: 1.134 MB / 2.468 GB, free: 0.4937 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01559/4.786, allocations: 0.9726 MB / 2.469 GB, free: 0.4937 GB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004187/4.79, allocations: 3.455 MB / 2.472 GB, free: 0.4932 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002945/4.793, allocations: 1.361 MB / 2.473 GB, free: 0.4932 GB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01778/4.811, allocations: 9.551 MB / 2.483 GB, free: 0.4927 GB / 1.182 GB Notification: Performance of sort global known variables: time 4.11e-07/4.811, allocations: 0 / 2.483 GB, free: 0.4927 GB / 1.182 GB Notification: Performance of remove unused functions: time 0.03183/4.843, allocations: 6.918 MB / 2.489 GB, free: 0.4927 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.05965/4.902, allocations: 71.22 MB / 2.559 GB, free: 443.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.03884/4.941, allocations: 24.85 MB / 2.583 GB, free: 432 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 0.0003291/4.942, allocations: 62.41 kB / 2.583 GB, free: 432 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01989/4.961, allocations: 13.29 MB / 2.596 GB, free: 425.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04093/5.002, allocations: 10.89 MB / 2.607 GB, free: 422.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3176/5.32, allocations: 226.1 MB / 2.828 GB, free: 200.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009609/5.33, allocations: 8.901 MB / 2.836 GB, free: 194.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01785/5.347, allocations: 4.537 MB / 2.841 GB, free: 191.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01178/5.359, allocations: 11.08 MB / 2.852 GB, free: 180.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.994e-06/5.359, allocations: 4 kB / 2.852 GB, free: 180.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/6.368, allocations: 0.5999 GB / 3.452 GB, free: 218.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.31/64.68, allocations: 4 kB / 3.452 GB, free: 218.6 MB / 1.182 GB " [Timeout remaining time 595] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 67.96302524860948] Failed to read output from testmodel.py, exit status != 0: 65.10695279669017 65.114446893 62.557470329 Calling exit ...