Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.59/0.59, allocations: 120.4 MB / 139.5 MB, free: 12.99 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 216.7 MB, free: 8.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.763e-05, allocations: 2.281 kB / 216.7 MB, free: 8.625 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity): time 1.051/1.051, allocations: 254.3 MB / 471 MB, free: 8.836 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4153/1.467, allocations: 140.2 MB / 0.5969 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/1.467, allocations: 0 / 0.5969 GB, free: 3.789 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/AirHumidity.mo:33:3-35:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/AirHumidity.mo:42:3-43:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004361/1.467, allocations: 108.8 kB / 0.597 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/1.467, allocations: 107 kB / 0.5971 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.007862/1.475, allocations: 3.379 MB / 0.6004 GB, free: 264 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/1.476, allocations: 386.8 kB / 0.6007 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/1.476, allocations: 147 kB / 0.6009 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/1.476, allocations: 239.4 kB / 0.6011 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/1.476, allocations: 111.7 kB / 0.6012 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/1.476, allocations: 36 kB / 0.6013 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/1.487, allocations: 7.255 MB / 0.6083 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/1.487, allocations: 67.75 kB / 0.6084 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/1.487, allocations: 131.6 kB / 0.6085 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.007396/1.495, allocations: 4.561 MB / 0.613 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.495, allocations: 4 kB / 0.613 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.855e-06/1.495, allocations: 0 / 0.613 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.495, allocations: 0 / 0.613 GB, free: 3.328 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002558/1.497, allocations: 0.7673 MB / 0.6137 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/1.497, allocations: 12.03 kB / 0.6137 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/1.497, allocations: 74.72 kB / 0.6138 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.834e-05/1.498, allocations: 40.7 kB / 0.6139 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/1.498, allocations: 189.5 kB / 0.614 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/1.498, allocations: 32.94 kB / 0.6141 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/1.498, allocations: 45.62 kB / 0.6141 GB, free: 2.113 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/1.498, allocations: 418.3 kB / 0.6145 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.498, allocations: 0 / 0.6145 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/1.498, allocations: 20 kB / 0.6145 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/1.498, allocations: 8 kB / 0.6145 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/1.499, allocations: 242.4 kB / 0.6148 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/1.5, allocations: 1.682 MB / 0.6164 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/1.501, allocations: 173.3 kB / 0.6166 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/1.501, allocations: 84.83 kB / 0.6167 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008663/1.51, allocations: 4.867 MB / 0.6214 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.51, allocations: 34.56 kB / 0.6214 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 2.816e-06/1.51, allocations: 0.75 kB / 0.6214 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.0007766/1.51, allocations: 352.3 kB / 0.6218 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/1.51, allocations: 55.41 kB / 0.6218 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/1.511, allocations: 281.9 kB / 0.6221 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/1.511, allocations: 25.7 kB / 0.6221 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/1.511, allocations: 184.5 kB / 0.6223 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/1.511, allocations: 91.25 kB / 0.6224 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/1.511, allocations: 49.7 kB / 0.6224 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.511, allocations: 335.8 kB / 0.6228 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/1.511, allocations: 68.75 kB / 0.6228 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/1.511, allocations: 137.1 kB / 0.623 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/1.511, allocations: 224.2 kB / 0.6232 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.511, allocations: 0 / 0.6232 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003819/1.512, allocations: 296.2 kB / 0.6234 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.512, allocations: 12.03 kB / 0.6235 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.512, allocations: 0 / 0.6235 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/1.512, allocations: 69.61 kB / 0.6235 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/1.512, allocations: 59.95 kB / 0.6236 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005609/1.513, allocations: 1.098 MB / 0.6247 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/1.513, allocations: 39.67 kB / 0.6247 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/1.513, allocations: 8 kB / 0.6247 GB, free: 6.957 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (sinkFlueGases.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,airHumidity.C2.b,airHumidity.C1.a,sourceFlueGasesPQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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,3), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001618/1.513, allocations: 147.9 kB / 0.6248 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/1.513, allocations: 31.81 kB / 0.6249 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/1.514, allocations: 267.9 kB / 0.6251 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.514, allocations: 3.984 kB / 0.6251 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.514, allocations: 0 / 0.6251 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.514, allocations: 0.6562 kB / 0.6251 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/1.514, allocations: 0.619 MB / 0.6257 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.514, allocations: 0 / 0.6257 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.515, allocations: 39.91 kB / 0.6258 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/1.515, allocations: 58.56 kB / 0.6258 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/1.515, allocations: 7.922 kB / 0.6258 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004407/1.515, allocations: 1.086 MB / 0.6269 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.515, allocations: 9.188 kB / 0.6269 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/1.516, allocations: 344.8 kB / 0.6272 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/1.516, allocations: 27.81 kB / 0.6273 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/1.516, allocations: 21.8 kB / 0.6273 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/1.516, allocations: 0.5625 kB / 0.6273 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/1.516, allocations: 11.92 kB / 0.6273 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/1.516, allocations: 12.16 kB / 0.6273 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000145/1.516, allocations: 201.2 kB / 0.6275 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/1.516, allocations: 0 / 0.6275 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001171/1.517, allocations: 419.4 kB / 0.6279 GB, free: 3.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001786/1.519, allocations: 1.336 MB / 0.6292 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003876/1.519, allocations: 185.9 kB / 0.6294 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.519, allocations: 0.5625 kB / 0.6294 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/1.519, allocations: 92.41 kB / 0.6295 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/1.52, allocations: 81 kB / 0.6295 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/1.523, allocations: 3.04 MB / 0.6325 GB, free: 14.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/1.523, allocations: 167.9 kB / 0.6327 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000103/1.523, allocations: 22.3 kB / 0.6327 GB, free: 14.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/1.523, allocations: 100.5 kB / 0.6328 GB, free: 14.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.343e-06/1.523, allocations: 0 / 0.6328 GB, free: 14.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/1.563, allocations: 19.43 MB / 0.6518 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.656/11.22, allocations: 5.875 kB / 0.6518 GB, free: 11.14 MB / 0.5886 GB " [Timeout remaining time 648] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.076861622743309] Failed to read output from testmodel.py, exit status != 0: 11.607623001560569 11.773574448 10.277076414 Calling exit ...