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.8525/0.8525, allocations: 153.8 MB / 173.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005222, allocations: 15.97 kB / 250.6 MB, free: 4.375 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1894, allocations: 33.35 MB / 283.9 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.87/2.059, allocations: 307.2 MB / 0.5772 GB, free: 17.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1715/2.231, allocations: 140.1 MB / 0.714 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/2.231, allocations: 0 / 0.714 GB, free: 9.184 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.0004321/2.232, allocations: 104.6 kB / 0.7141 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/2.232, allocations: 95.17 kB / 0.7142 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009042/2.241, allocations: 3.357 MB / 0.7175 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00057/2.242, allocations: 371 kB / 0.7178 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/2.242, allocations: 154.3 kB / 0.718 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/2.242, allocations: 159.4 kB / 0.7181 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/2.242, allocations: 164.1 kB / 0.7183 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/2.242, allocations: 32 kB / 0.7183 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/2.255, allocations: 7.541 MB / 0.7257 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/2.255, allocations: 71.77 kB / 0.7258 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/2.256, allocations: 153.5 kB / 0.7259 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007192/2.263, allocations: 3.508 MB / 0.7293 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/2.263, allocations: 0 / 0.7293 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/2.263, allocations: 4 kB / 0.7293 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.949e-06/2.263, allocations: 0 / 0.7293 GB, free: 9.488 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.002131/2.265, allocations: 0.7749 MB / 0.7301 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/2.265, allocations: 8.031 kB / 0.7301 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.834e-05/2.265, allocations: 9.188 kB / 0.7301 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.021e-05/2.265, allocations: 78.72 kB / 0.7302 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/2.265, allocations: 44.75 kB / 0.7302 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/2.265, allocations: 191.3 kB / 0.7304 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/2.265, allocations: 25 kB / 0.7304 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/2.265, allocations: 36 kB / 0.7305 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/2.266, allocations: 425.1 kB / 0.7309 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/2.266, allocations: 0 / 0.7309 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/2.266, allocations: 16 kB / 0.7309 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/2.266, allocations: 12 kB / 0.7309 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/2.267, allocations: 242.4 kB / 0.7311 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/2.269, allocations: 1.698 MB / 0.7328 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/2.269, allocations: 177.4 kB / 0.733 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/2.27, allocations: 85.69 kB / 0.733 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/2.287, allocations: 4.858 MB / 0.7378 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/2.287, allocations: 31.56 kB / 0.7378 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.345e-06/2.287, allocations: 4 kB / 0.7378 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001078/2.288, allocations: 342.9 kB / 0.7382 GB, free: 268 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/2.288, allocations: 59.41 kB / 0.7382 GB, free: 196 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/2.288, allocations: 293.8 kB / 0.7385 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/2.288, allocations: 29.7 kB / 0.7385 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/2.288, allocations: 180.5 kB / 0.7387 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/2.288, allocations: 79.27 kB / 0.7388 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/2.288, allocations: 50.55 kB / 0.7388 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000147/2.289, allocations: 342.8 kB / 0.7391 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/2.289, allocations: 60.27 kB / 0.7392 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/2.289, allocations: 133.1 kB / 0.7393 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/2.289, allocations: 228.6 kB / 0.7395 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/2.289, allocations: 0 / 0.7395 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005552/2.29, allocations: 294.9 kB / 0.7398 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/2.29, allocations: 8 kB / 0.7398 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/2.29, allocations: 1.594 kB / 0.7398 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/2.29, allocations: 78.44 kB / 0.7399 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/2.291, allocations: 60.7 kB / 0.74 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007867/2.291, allocations: 1.093 MB / 0.741 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/2.292, allocations: 43.61 kB / 0.7411 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/2.292, allocations: 9.25 kB / 0.7411 GB, free: 13.09 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.0001613/2.292, allocations: 151.6 kB / 0.7412 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/2.292, allocations: 31.81 kB / 0.7413 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/2.292, allocations: 265.7 kB / 0.7415 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/2.292, allocations: 4 kB / 0.7415 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/2.292, allocations: 1.25 kB / 0.7415 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/2.292, allocations: 0 / 0.7415 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/2.293, allocations: 0.6077 MB / 0.7421 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/2.293, allocations: 3.984 kB / 0.7421 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/2.294, allocations: 27.98 kB / 0.7421 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/2.294, allocations: 69.7 kB / 0.7422 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/2.294, allocations: 8 kB / 0.7422 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007134/2.295, allocations: 1.089 MB / 0.7433 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/2.295, allocations: 4.875 kB / 0.7433 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/2.295, allocations: 351.1 kB / 0.7436 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/2.295, allocations: 27.78 kB / 0.7436 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/2.295, allocations: 12.16 kB / 0.7437 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/2.295, allocations: 0 / 0.7437 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/2.295, allocations: 19.92 kB / 0.7437 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/2.295, allocations: 4 kB / 0.7437 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002091/2.296, allocations: 201.2 kB / 0.7439 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/2.296, allocations: 0 / 0.7439 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001273/2.297, allocations: 415.4 kB / 0.7443 GB, free: 9.656 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.00242/2.299, allocations: 1.298 MB / 0.7455 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005544/2.3, allocations: 191.1 kB / 0.7457 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/2.3, allocations: 0 / 0.7457 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/2.3, allocations: 93.94 kB / 0.7458 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/2.301, allocations: 81.22 kB / 0.7459 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/2.305, allocations: 3.046 MB / 0.7489 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/2.305, allocations: 152.6 kB / 0.749 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001225/2.305, allocations: 31.83 kB / 0.749 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/2.305, allocations: 91.41 kB / 0.7491 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.002e-06/2.305, allocations: 0 / 0.7491 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/2.354, allocations: 18.98 MB / 0.7677 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/15.46, allocations: 7.438 kB / 0.7677 GB, free: 2.191 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.520926749915816] Failed to read output from testmodel.py, exit status != 0: 15.99340695689898 16.003361729 13.73817533 Calling exit ...