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.001177/0.001177, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001497/0.001497, allocations: 212.1 kB / 22.25 MB, free: 3.57 MB / 13.93 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.9712/0.9712, allocations: 230.6 MB / 256 MB, free: 9.637 MB / 202.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.7341/0.7341, allocations: 150.8 MB / 463.2 MB, free: 6.488 MB / 362.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 0.001144/0.001144, allocations: 87.69 kB / 0.6394 GB, free: 32.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1521, allocations: 88.08 MB / 0.7254 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2): time 1.265/1.417, allocations: 499.6 MB / 1.213 GB, free: 68 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.1125/1.53, allocations: 115.5 MB / 1.326 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03158/1.561, allocations: 1.211 MB / 1.327 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.02121/1.582, allocations: 7.448 MB / 1.335 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0627/1.645, allocations: 20.18 MB / 1.354 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03917/1.684, allocations: 15.7 MB / 1.37 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.049/1.733, allocations: 35.92 MB / 1.405 GB, free: 172 kB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007063/1.74, allocations: 2.662 MB / 1.407 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02797/1.768, allocations: 15.4 MB / 1.422 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02077/1.789, allocations: 13.31 MB / 1.435 GB, free: 2.059 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.007032/1.796, allocations: 1.434 MB / 1.437 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03491/1.831, allocations: 16.76 MB / 1.453 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.006677/1.838, allocations: 4.2 MB / 1.457 GB, free: 13.2 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.01515/1.853, allocations: 8.719 MB / 1.466 GB, free: 4.547 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.06589/1.919, allocations: 35.58 MB / 1.5 GB, free: 3.324 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.919, allocations: 4 kB / 1.5 GB, free: 3.32 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.833e-06/1.919, allocations: 0 / 1.5 GB, free: 3.32 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001004/1.92, allocations: 0 / 1.5 GB, free: 3.32 MB / 1.042 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.03947/1.959, allocations: 23.75 MB / 1.524 GB, free: 11.92 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.959, allocations: 8.031 kB / 1.524 GB, free: 11.91 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00186/1.961, allocations: 2.281 MB / 1.526 GB, free: 9.621 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/1.965, allocations: 2.699 MB / 1.528 GB, free: 6.906 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/1.982, allocations: 12.31 MB / 1.541 GB, free: 10.86 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005121/1.987, allocations: 12.91 MB / 1.553 GB, free: 11.24 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001789/1.989, allocations: 1.699 MB / 1.555 GB, free: 9.543 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/2.018, allocations: 17.95 MB / 1.572 GB, free: 7.348 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003185/2.018, allocations: 7.938 kB / 1.572 GB, free: 7.34 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/2.02, allocations: 0.6758 MB / 1.573 GB, free: 6.664 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003507/2.02, allocations: 416 kB / 1.573 GB, free: 6.258 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.027/2.047, allocations: 18.37 MB / 1.591 GB, free: 3.852 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6945/2.742, allocations: 42.92 MB / 1.633 GB, free: 0.5344 GB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03698/2.779, allocations: 29.8 MB / 1.662 GB, free: 0.5234 GB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01441/2.793, allocations: 9.068 MB / 1.671 GB, free: 0.5199 GB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05868/2.852, allocations: 30.64 MB / 1.701 GB, free: 0.5068 GB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/2.852, allocations: 294.6 kB / 1.701 GB, free: 0.5065 GB / 1.151 GB Notification: Performance of pre-optimization done (n=2562): time 2.286e-05/2.852, allocations: 0 / 1.701 GB, free: 0.5065 GB / 1.151 GB Notification: Performance of matching and sorting (n=3402): time 0.1058/2.958, allocations: 57.61 MB / 1.758 GB, free: 464 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/2.958, allocations: 433.8 kB / 1.758 GB, free: 463.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/2.972, allocations: 13.22 MB / 1.771 GB, free: 450.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0039/2.976, allocations: 0.5407 MB / 1.771 GB, free: 450 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003177/2.979, allocations: 7.679 MB / 1.779 GB, free: 442.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.007428/2.987, allocations: 11.74 MB / 1.79 GB, free: 431.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004908/2.992, allocations: 4.508 MB / 1.795 GB, free: 427.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/2.992, allocations: 309.1 kB / 1.795 GB, free: 427 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01211/3.004, allocations: 8.093 MB / 1.803 GB, free: 418.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/3.018, allocations: 11.71 MB / 1.814 GB, free: 406.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02468/3.042, allocations: 21.21 MB / 1.835 GB, free: 384.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/3.042, allocations: 20 kB / 1.835 GB, free: 384.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=3754) (initialization): time 0.04675/3.089, allocations: 26.81 MB / 1.861 GB, free: 357.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/3.089, allocations: 32 kB / 1.861 GB, free: 357.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/3.089, allocations: 77.28 kB / 1.862 GB, free: 357.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008905/3.098, allocations: 3.133 MB / 1.865 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05108/3.149, allocations: 15.74 MB / 1.88 GB, free: 338.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02343/3.173, allocations: 53.71 MB / 1.932 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01613/3.189, allocations: 0.7929 MB / 1.933 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005076/3.194, allocations: 1.074 MB / 1.934 GB, free: 278.9 MB / 1.151 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.01002/3.204, allocations: 2.997 MB / 1.937 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005494/3.21, allocations: 2.608 MB / 1.94 GB, free: 273.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1018/3.311, allocations: 157.9 MB / 2.094 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001064/3.311, allocations: 296 kB / 2.094 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001763/3.312, allocations: 16 kB / 2.094 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002673/3.312, allocations: 147.4 kB / 2.094 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.36/4.672, allocations: 436.1 MB / 2.52 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001051/4.673, allocations: 428 kB / 2.521 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02317/4.697, allocations: 8.596 MB / 2.529 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007499/4.704, allocations: 2.602 MB / 2.532 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004773/4.709, allocations: 1.112 MB / 2.533 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/4.725, allocations: 37.01 MB / 2.569 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002004/4.725, allocations: 0.6573 MB / 2.569 GB, free: 186.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05215/4.778, allocations: 66.36 MB / 2.634 GB, free: 114 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01089/4.788, allocations: 4.014 MB / 2.638 GB, free: 111.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00425/4.793, allocations: 1.136 MB / 2.639 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01231/4.805, allocations: 0.9695 MB / 2.64 GB, free: 109.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00303/4.808, allocations: 3.456 MB / 2.644 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001556/4.81, allocations: 1.364 MB / 2.645 GB, free: 106.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01228/4.822, allocations: 9.558 MB / 2.654 GB, free: 98.21 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/4.822, allocations: 0 / 2.654 GB, free: 98.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.03285/4.855, allocations: 6.909 MB / 2.661 GB, free: 91.59 MB / 1.151 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.04941/4.904, allocations: 71.96 MB / 2.731 GB, free: 13.32 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.4127/5.317, allocations: 24.86 MB / 2.756 GB, free: 483 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 0.0004398/5.317, allocations: 61.59 kB / 2.756 GB, free: 483 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02397/5.341, allocations: 13.31 MB / 2.769 GB, free: 478.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0555/5.397, allocations: 10.9 MB / 2.779 GB, free: 477.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3039/5.701, allocations: 225.2 MB / 2.999 GB, free: 298.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/5.711, allocations: 8.905 MB / 3.008 GB, free: 289.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.02378/5.735, allocations: 4.537 MB / 3.012 GB, free: 285.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01332/5.748, allocations: 11.08 MB / 3.023 GB, free: 274.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.124e-06/5.748, allocations: 0 / 3.023 GB, free: 274.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.083/6.831, allocations: 0.6 GB / 3.623 GB, free: 156.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.85/51.68, allocations: 8.062 kB / 3.623 GB, free: 156.1 MB / 1.151 GB " [Timeout remaining time 608] (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: 55.22345443535596] Failed to read output from testmodel.py, exit status != 0: 52.099371508695185 52.10952699 50.18852456 Calling exit ...