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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9304/0.9304, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 0.0005229/0.000523, allocations: 18.95 kB / 239.3 MB, free: 2.371 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05806/0.0586, allocations: 31.35 MB / 270.6 MB, free: 6.82 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity): time 1.779/1.838, allocations: 295.7 MB / 0.5531 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1945/2.032, allocations: 159.1 MB / 0.7085 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/2.033, allocations: 8 kB / 0.7085 GB, free: 13.09 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0004415/2.033, allocations: 121.2 kB / 0.7086 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/2.033, allocations: 87.19 kB / 0.7087 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009081/2.042, allocations: 3.366 MB / 0.712 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005771/2.043, allocations: 371.1 kB / 0.7123 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/2.043, allocations: 184.1 kB / 0.7125 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/2.044, allocations: 159.4 kB / 0.7127 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/2.044, allocations: 155.3 kB / 0.7128 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/2.044, allocations: 36 kB / 0.7128 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01452/2.058, allocations: 7.58 MB / 0.7202 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/2.059, allocations: 75.77 kB / 0.7203 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003578/2.059, allocations: 171.2 kB / 0.7205 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.3543/2.413, allocations: 3.485 MB / 0.7239 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/2.413, allocations: 1.031 kB / 0.7239 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.675e-06/2.413, allocations: 0.5625 kB / 0.7239 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.867e-06/2.413, allocations: 1 kB / 0.7239 GB, free: 9.566 MB / 0.5919 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.00339/2.417, allocations: 0.8458 MB / 0.7247 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/2.417, allocations: 12.53 kB / 0.7247 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.497e-05/2.417, allocations: 77.69 kB / 0.7248 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/2.417, allocations: 41.14 kB / 0.7248 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/2.417, allocations: 250.4 kB / 0.7251 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/2.417, allocations: 26.53 kB / 0.7251 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/2.417, allocations: 34.06 kB / 0.7251 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/2.418, allocations: 428.1 kB / 0.7255 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/2.418, allocations: 1.469 kB / 0.7255 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/2.418, allocations: 15.25 kB / 0.7256 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/2.418, allocations: 13.31 kB / 0.7256 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/2.418, allocations: 242.4 kB / 0.7258 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/2.42, allocations: 2.128 MB / 0.7279 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/2.421, allocations: 174.1 kB / 0.728 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/2.421, allocations: 103.7 kB / 0.7281 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/2.44, allocations: 8.567 MB / 0.7365 GB, free: 18.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/2.44, allocations: 45 kB / 0.7365 GB, free: 18.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/2.44, allocations: 0 / 0.7365 GB, free: 18.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001129/2.441, allocations: 496.8 kB / 0.737 GB, free: 18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/2.441, allocations: 53.16 kB / 0.7371 GB, free: 17.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/2.442, allocations: 287.7 kB / 0.7373 GB, free: 17.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/2.442, allocations: 25.7 kB / 0.7374 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/2.442, allocations: 186.6 kB / 0.7375 GB, free: 17.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/2.442, allocations: 78.64 kB / 0.7376 GB, free: 17.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/2.442, allocations: 49.38 kB / 0.7377 GB, free: 17.61 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001544/2.442, allocations: 340.4 kB / 0.738 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/2.442, allocations: 67.28 kB / 0.7381 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/2.442, allocations: 137.7 kB / 0.7382 GB, free: 17.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/2.443, allocations: 220.7 kB / 0.7384 GB, free: 17.13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.443, allocations: 2 kB / 0.7384 GB, free: 17.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004691/2.443, allocations: 301.4 kB / 0.7387 GB, free: 17.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/2.443, allocations: 7.094 kB / 0.7387 GB, free: 17.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/2.443, allocations: 6.484 kB / 0.7387 GB, free: 17.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/2.443, allocations: 61.64 kB / 0.7388 GB, free: 17.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/2.444, allocations: 63.28 kB / 0.7388 GB, free: 17.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007612/2.445, allocations: 1.098 MB / 0.7399 GB, free: 16.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/2.445, allocations: 37.23 kB / 0.7399 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/2.445, allocations: 11.8 kB / 0.7399 GB, free: 15.98 MB / 0.6075 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/2.445, allocations: 151.1 kB / 0.7401 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/2.445, allocations: 32.62 kB / 0.7401 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/2.446, allocations: 259.6 kB / 0.7404 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/2.446, allocations: 6.594 kB / 0.7404 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.446, allocations: 0.875 kB / 0.7404 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/2.446, allocations: 6.844 kB / 0.7404 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000904/2.447, allocations: 0.6557 MB / 0.741 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/2.447, allocations: 1 kB / 0.741 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/2.447, allocations: 30.75 kB / 0.741 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/2.447, allocations: 64.22 kB / 0.7411 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/2.447, allocations: 6.438 kB / 0.7411 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006947/2.448, allocations: 1.093 MB / 0.7422 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/2.448, allocations: 2.562 kB / 0.7422 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/2.448, allocations: 357.9 kB / 0.7425 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/2.448, allocations: 107.6 kB / 0.7426 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/2.448, allocations: 5.812 kB / 0.7426 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/2.448, allocations: 2.844 kB / 0.7426 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/2.448, allocations: 16.69 kB / 0.7427 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/2.448, allocations: 3.219 kB / 0.7427 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000164/2.449, allocations: 203.5 kB / 0.7429 GB, free: 14 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/2.449, allocations: 0 / 0.7429 GB, free: 14 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001774/2.45, allocations: 415.4 kB / 0.7432 GB, free: 13.96 MB / 0.6075 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.002316/2.453, allocations: 1.285 MB / 0.7445 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004636/2.453, allocations: 199.2 kB / 0.7447 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/2.453, allocations: 1.781 kB / 0.7447 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/2.453, allocations: 96.33 kB / 0.7448 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/2.454, allocations: 88.75 kB / 0.7449 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/2.457, allocations: 3.036 MB / 0.7478 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/2.458, allocations: 0.7627 MB / 0.7486 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001038/2.458, allocations: 27.03 kB / 0.7486 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/2.458, allocations: 90.59 kB / 0.7487 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/2.458, allocations: 0 / 0.7487 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04475/2.503, allocations: 18.37 MB / 0.7666 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/15.4, allocations: 7.859 kB / 0.7666 GB, free: 9.52 MB / 0.6075 GB " [Timeout remaining time 644] (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: 17.338838560972363] Failed to read output from testmodel.py, exit status != 0: 15.662199142971076 15.675463026 13.259568404 Calling exit ...