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.8557/0.8557, allocations: 153.8 MB / 170.2 MB, free: 13.79 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.0004841/0.0004841, allocations: 17.41 kB / 246.3 MB, free: 14.89 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06358/0.06407, allocations: 33.35 MB / 279.7 MB, free: 15.12 MB / 238.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.71/1.774, allocations: 307.3 MB / 0.5732 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.4953/2.269, allocations: 162.5 MB / 0.7319 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/2.269, allocations: 2.219 kB / 0.7319 GB, free: 15.79 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.0003933/2.269, allocations: 124.7 kB / 0.732 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/2.27, allocations: 99.77 kB / 0.7321 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007557/2.277, allocations: 3.401 MB / 0.7354 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000479/2.278, allocations: 371.3 kB / 0.7358 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/2.278, allocations: 148.5 kB / 0.7359 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/2.278, allocations: 162 kB / 0.7361 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/2.278, allocations: 160.4 kB / 0.7362 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/2.278, allocations: 32.84 kB / 0.7363 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/2.291, allocations: 7.613 MB / 0.7437 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/2.291, allocations: 75 kB / 0.7438 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000424/2.292, allocations: 177.1 kB / 0.744 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008362/2.3, allocations: 3.5 MB / 0.7474 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/2.3, allocations: 0 / 0.7474 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/2.3, allocations: 2.344 kB / 0.7474 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.137e-06/2.3, allocations: 1.203 kB / 0.7474 GB, free: 15.07 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.00186/2.302, allocations: 0.8436 MB / 0.7482 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/2.302, allocations: 8.906 kB / 0.7482 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.845e-05/2.302, allocations: 75.81 kB / 0.7483 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/2.302, allocations: 40.17 kB / 0.7483 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/2.302, allocations: 253.3 kB / 0.7486 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/2.302, allocations: 27.38 kB / 0.7486 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/2.302, allocations: 34.22 kB / 0.7486 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/2.303, allocations: 426.1 kB / 0.749 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/2.303, allocations: 2.156 kB / 0.749 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/2.303, allocations: 16.25 kB / 0.749 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/2.303, allocations: 17.83 kB / 0.7491 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/2.303, allocations: 241.8 kB / 0.7493 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/2.305, allocations: 2.127 MB / 0.7514 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/2.306, allocations: 159 kB / 0.7515 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/2.306, allocations: 87.73 kB / 0.7516 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01828/2.324, allocations: 8.571 MB / 0.76 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/2.324, allocations: 39.75 kB / 0.76 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.103e-06/2.324, allocations: 0 / 0.76 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001123/2.326, allocations: 496.8 kB / 0.7605 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/2.326, allocations: 55.41 kB / 0.7605 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/2.326, allocations: 282.6 kB / 0.7608 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/2.326, allocations: 25.7 kB / 0.7608 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/2.326, allocations: 184.1 kB / 0.761 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/2.326, allocations: 86.81 kB / 0.7611 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/2.326, allocations: 46.95 kB / 0.7611 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001503/2.326, allocations: 345.8 kB / 0.7615 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/2.326, allocations: 64.77 kB / 0.7615 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/2.327, allocations: 139.1 kB / 0.7617 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/2.327, allocations: 227 kB / 0.7619 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.327, allocations: 4.844 kB / 0.7619 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004946/2.327, allocations: 288.2 kB / 0.7622 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/2.327, allocations: 7.406 kB / 0.7622 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/2.327, allocations: 2.688 kB / 0.7622 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/2.328, allocations: 69.3 kB / 0.7622 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/2.328, allocations: 65.78 kB / 0.7623 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007405/2.329, allocations: 1.096 MB / 0.7634 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/2.329, allocations: 37.48 kB / 0.7634 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/2.329, allocations: 7.859 kB / 0.7634 GB, free: 3.199 MB / 0.5919 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.0001642/2.329, allocations: 165.1 kB / 0.7636 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/2.329, allocations: 28.47 kB / 0.7636 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/2.33, allocations: 258.2 kB / 0.7638 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/2.33, allocations: 3.188 kB / 0.7638 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/2.33, allocations: 3.938 kB / 0.7638 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/2.33, allocations: 6.781 kB / 0.7639 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009522/2.331, allocations: 0.6495 MB / 0.7645 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/2.331, allocations: 3.094 kB / 0.7645 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/2.331, allocations: 36.59 kB / 0.7645 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002415/2.331, allocations: 61.83 kB / 0.7646 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/2.331, allocations: 6.469 kB / 0.7646 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000671/2.332, allocations: 1.088 MB / 0.7657 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.332, allocations: 5.141 kB / 0.7657 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/2.332, allocations: 350.9 kB / 0.766 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/2.332, allocations: 108.2 kB / 0.7661 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/2.332, allocations: 2.781 kB / 0.7661 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/2.333, allocations: 5.281 kB / 0.7661 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/2.333, allocations: 12.67 kB / 0.7661 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/2.333, allocations: 6.281 kB / 0.7661 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001758/2.333, allocations: 207.2 kB / 0.7663 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.333, allocations: 3.531 kB / 0.7663 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001401/2.334, allocations: 418.3 kB / 0.7667 GB, free: 0.9219 MB / 0.5919 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.002173/2.336, allocations: 1.301 MB / 0.768 GB, free: 92 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004562/2.337, allocations: 178 kB / 0.7682 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/2.337, allocations: 0 / 0.7682 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/2.337, allocations: 95.33 kB / 0.7682 GB, free: 40 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/2.338, allocations: 79.73 kB / 0.7683 GB, free: 24 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/2.341, allocations: 3.028 MB / 0.7713 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/2.342, allocations: 0.7665 MB / 0.772 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001143/2.342, allocations: 31.73 kB / 0.7721 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/2.342, allocations: 95.81 kB / 0.7722 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/2.342, allocations: 0.8438 kB / 0.7722 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/2.392, allocations: 18.51 MB / 0.7902 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/13.95, allocations: 6.688 kB / 0.7902 GB, free: 2.672 MB / 0.6075 GB " [Timeout remaining time 646] (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: 15.894390781002585] Failed to read output from testmodel.py, exit status != 0: 14.199066178000066 14.212313336 11.909749523 Calling exit ...