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.8396/0.8396, allocations: 153.8 MB / 172.7 MB, free: 4.863 MB / 142.1 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 0.0005169/0.0005169, allocations: 11.97 kB / 249.8 MB, free: 4.367 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1735, allocations: 33.35 MB / 283.2 MB, free: 1.73 MB / 222.1 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.904/2.077, allocations: 307.6 MB / 0.5769 GB, free: 17.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1782/2.255, allocations: 140.1 MB / 0.7137 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003273/2.256, allocations: 4 kB / 0.7137 GB, free: 8.691 MB / 0.5762 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.0005201/2.256, allocations: 104 kB / 0.7138 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000375/2.257, allocations: 99.17 kB / 0.7139 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009921/2.266, allocations: 3.357 MB / 0.7172 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006623/2.267, allocations: 367 kB / 0.7175 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/2.267, allocations: 158.9 kB / 0.7177 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/2.268, allocations: 159.4 kB / 0.7178 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/2.268, allocations: 135.3 kB / 0.718 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/2.268, allocations: 32 kB / 0.718 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01481/2.283, allocations: 7.24 MB / 0.7251 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/2.283, allocations: 75.7 kB / 0.7252 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002687/2.283, allocations: 151.4 kB / 0.7253 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007565/2.291, allocations: 3.508 MB / 0.7287 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/2.291, allocations: 0 / 0.7287 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/2.291, allocations: 0 / 0.7287 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.524e-05/2.291, allocations: 1.594 kB / 0.7287 GB, free: 9.324 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.002334/2.293, allocations: 0.7749 MB / 0.7295 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/2.293, allocations: 8.031 kB / 0.7295 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.19e-05/2.293, allocations: 82.72 kB / 0.7296 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/2.293, allocations: 36.75 kB / 0.7296 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/2.294, allocations: 194.5 kB / 0.7298 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/2.294, allocations: 25 kB / 0.7298 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/2.294, allocations: 36 kB / 0.7298 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/2.294, allocations: 426.3 kB / 0.7303 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/2.295, allocations: 3.938 kB / 0.7303 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/2.295, allocations: 16 kB / 0.7303 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/2.295, allocations: 12 kB / 0.7303 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/2.295, allocations: 242.4 kB / 0.7305 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/2.297, allocations: 1.703 MB / 0.7322 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/2.298, allocations: 170.8 kB / 0.7323 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/2.298, allocations: 81.58 kB / 0.7324 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01854/2.317, allocations: 4.857 MB / 0.7372 GB, free: 500 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/2.317, allocations: 42.5 kB / 0.7372 GB, free: 448 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.545e-06/2.317, allocations: 0 / 0.7372 GB, free: 448 kB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001138/2.318, allocations: 342.9 kB / 0.7375 GB, free: 92 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/2.318, allocations: 55.41 kB / 0.7376 GB, free: 24 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/2.318, allocations: 289.9 kB / 0.7379 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/2.318, allocations: 29.7 kB / 0.7379 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/2.318, allocations: 185.6 kB / 0.7381 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/2.319, allocations: 79.27 kB / 0.7381 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/2.319, allocations: 57.59 kB / 0.7382 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001618/2.319, allocations: 334.8 kB / 0.7385 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/2.319, allocations: 69.06 kB / 0.7386 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/2.319, allocations: 133.1 kB / 0.7387 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/2.32, allocations: 218.3 kB / 0.7389 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/2.32, allocations: 0 / 0.7389 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006153/2.32, allocations: 301.2 kB / 0.7392 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/2.32, allocations: 10.34 kB / 0.7392 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/2.32, allocations: 0.6562 kB / 0.7392 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/2.321, allocations: 73.61 kB / 0.7393 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/2.321, allocations: 69.36 kB / 0.7393 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008456/2.322, allocations: 1.093 MB / 0.7404 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/2.322, allocations: 47.56 kB / 0.7405 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/2.322, allocations: 8 kB / 0.7405 GB, free: 12.91 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.0001786/2.322, allocations: 142.9 kB / 0.7406 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/2.322, allocations: 32.66 kB / 0.7406 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/2.323, allocations: 255.3 kB / 0.7409 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/2.323, allocations: 15.92 kB / 0.7409 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/2.323, allocations: 0 / 0.7409 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/2.323, allocations: 0 / 0.7409 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/2.324, allocations: 0.6084 MB / 0.7415 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/2.324, allocations: 0 / 0.7415 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/2.324, allocations: 32.84 kB / 0.7415 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/2.324, allocations: 65.77 kB / 0.7416 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/2.324, allocations: 4.938 kB / 0.7416 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007108/2.325, allocations: 1.089 MB / 0.7427 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.325, allocations: 32 / 0.7427 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/2.326, allocations: 360.8 kB / 0.743 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/2.326, allocations: 27.95 kB / 0.743 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/2.326, allocations: 12 kB / 0.743 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/2.326, allocations: 0 / 0.743 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/2.326, allocations: 11.98 kB / 0.743 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/2.326, allocations: 4 kB / 0.743 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000204/2.326, allocations: 201.2 kB / 0.7432 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.1e-08/2.326, allocations: 1.031 kB / 0.7432 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00127/2.327, allocations: 423.3 kB / 0.7436 GB, free: 9.488 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.002211/2.33, allocations: 1.302 MB / 0.7449 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005248/2.33, allocations: 183.8 kB / 0.7451 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.33, allocations: 0 / 0.7451 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/2.33, allocations: 99.8 kB / 0.7452 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/2.331, allocations: 88.88 kB / 0.7453 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/2.335, allocations: 3.034 MB / 0.7482 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/2.335, allocations: 156.1 kB / 0.7484 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001144/2.335, allocations: 24.31 kB / 0.7484 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/2.335, allocations: 99.39 kB / 0.7485 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of SimCode: time 9.41e-07/2.335, allocations: 0 / 0.7485 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05484/2.39, allocations: 19.28 MB / 0.7673 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/15.58, allocations: 4.469 kB / 0.7673 GB, free: 1.664 MB / 0.6231 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.724256026092917] Failed to read output from testmodel.py, exit status != 0: 16.06390329496935 16.075242934 13.781869721 Calling exit ...