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.8505/0.8505, allocations: 153.8 MB / 172.7 MB, free: 4.965 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.0005061/0.0005061, allocations: 11.98 kB / 249.8 MB, free: 4.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.183, allocations: 33.37 MB / 283.2 MB, free: 1.816 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.847/2.03, allocations: 307.5 MB / 0.5769 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1886/2.218, allocations: 162.6 MB / 0.7356 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/2.219, allocations: 4 kB / 0.7356 GB, free: 2.457 MB / 0.5919 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.0004514/2.219, allocations: 121.1 kB / 0.7357 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/2.219, allocations: 107 kB / 0.7358 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009146/2.229, allocations: 3.393 MB / 0.7392 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005931/2.229, allocations: 379 kB / 0.7395 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/2.229, allocations: 152.9 kB / 0.7397 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/2.23, allocations: 155.4 kB / 0.7398 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/2.23, allocations: 155.3 kB / 0.74 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/2.23, allocations: 36 kB / 0.74 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/2.243, allocations: 7.62 MB / 0.7474 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/2.243, allocations: 71.7 kB / 0.7475 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002316/2.243, allocations: 175.2 kB / 0.7477 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007463/2.251, allocations: 3.504 MB / 0.7511 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/2.251, allocations: 5.031 kB / 0.7511 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.562e-06/2.251, allocations: 0 / 0.7511 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.286e-06/2.251, allocations: 0 / 0.7511 GB, free: 2.602 MB / 0.6075 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.002157/2.253, allocations: 0.7661 MB / 0.7518 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/2.253, allocations: 8.031 kB / 0.7519 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.537e-05/2.253, allocations: 82.7 kB / 0.7519 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/2.253, allocations: 40.7 kB / 0.752 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/2.254, allocations: 199.8 kB / 0.7522 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/2.254, allocations: 26.75 kB / 0.7522 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/2.254, allocations: 36 kB / 0.7522 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/2.254, allocations: 426.6 kB / 0.7526 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/2.254, allocations: 4.5 kB / 0.7526 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/2.254, allocations: 16 kB / 0.7526 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/2.254, allocations: 12 kB / 0.7527 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/2.255, allocations: 238.4 kB / 0.7529 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/2.257, allocations: 2.018 MB / 0.7549 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/2.258, allocations: 164.4 kB / 0.755 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/2.258, allocations: 92.8 kB / 0.7551 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01731/2.275, allocations: 4.84 MB / 0.7598 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/2.275, allocations: 38.48 kB / 0.7599 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/2.275, allocations: 0 / 0.7599 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001081/2.276, allocations: 345.5 kB / 0.7602 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/2.276, allocations: 51.41 kB / 0.7602 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/2.277, allocations: 289.7 kB / 0.7605 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/2.277, allocations: 29.7 kB / 0.7605 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/2.277, allocations: 184.6 kB / 0.7607 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/2.277, allocations: 83.27 kB / 0.7608 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/2.277, allocations: 49.69 kB / 0.7609 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001491/2.277, allocations: 342.8 kB / 0.7612 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/2.277, allocations: 64.25 kB / 0.7612 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/2.278, allocations: 133.1 kB / 0.7614 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/2.278, allocations: 223.1 kB / 0.7616 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/2.278, allocations: 4 kB / 0.7616 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000583/2.279, allocations: 302 kB / 0.7619 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/2.279, allocations: 8 kB / 0.7619 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/2.279, allocations: 7.984 kB / 0.7619 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/2.279, allocations: 65.61 kB / 0.7619 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/2.279, allocations: 60.03 kB / 0.762 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007931/2.28, allocations: 1.098 MB / 0.7631 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/2.28, allocations: 43.61 kB / 0.7631 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/2.28, allocations: 7.984 kB / 0.7631 GB, free: 5.844 MB / 0.6231 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.00017/2.281, allocations: 150.5 kB / 0.7633 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/2.281, allocations: 27.81 kB / 0.7633 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/2.281, allocations: 260.3 kB / 0.7635 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/2.281, allocations: 11.94 kB / 0.7636 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/2.281, allocations: 0 / 0.7636 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/2.281, allocations: 0.6094 kB / 0.7636 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/2.282, allocations: 0.6311 MB / 0.7642 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/2.282, allocations: 0.5 kB / 0.7642 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/2.282, allocations: 33.75 kB / 0.7642 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/2.283, allocations: 67.03 kB / 0.7643 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/2.283, allocations: 0.9375 kB / 0.7643 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007139/2.283, allocations: 1.089 MB / 0.7653 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/2.283, allocations: 4.156 kB / 0.7653 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/2.284, allocations: 348.5 kB / 0.7657 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/2.284, allocations: 39.73 kB / 0.7657 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/2.284, allocations: 8 kB / 0.7657 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/2.284, allocations: 0.75 kB / 0.7657 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/2.284, allocations: 11.92 kB / 0.7657 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/2.284, allocations: 8 kB / 0.7657 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000208/2.284, allocations: 201.2 kB / 0.7659 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/2.284, allocations: 0 / 0.7659 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001271/2.286, allocations: 419.4 kB / 0.7663 GB, free: 2.402 MB / 0.6231 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.002324/2.288, allocations: 1.3 MB / 0.7676 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005432/2.289, allocations: 187.7 kB / 0.7678 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/2.289, allocations: 4 kB / 0.7678 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/2.289, allocations: 95.86 kB / 0.7679 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/2.289, allocations: 78.78 kB / 0.7679 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/2.293, allocations: 3.042 MB / 0.7709 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/2.294, allocations: 0.7641 MB / 0.7717 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001107/2.294, allocations: 27.23 kB / 0.7717 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/2.294, allocations: 96.23 kB / 0.7718 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of SimCode: time 7.32e-07/2.294, allocations: 0 / 0.7718 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05239/2.346, allocations: 18.71 MB / 0.7901 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/15.17, allocations: 7.672 kB / 0.7901 GB, free: 10.46 MB / 0.6544 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.178684619000023] Failed to read output from testmodel.py, exit status != 0: 15.614228728999933 15.626080317 13.372700691 Calling exit ...