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.9098/0.9098, allocations: 153.8 MB / 173.4 MB, free: 4.891 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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005365, allocations: 15.97 kB / 251 MB, free: 3.891 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 33.35 MB / 284.4 MB, free: 1.945 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.865/2.02, allocations: 307.6 MB / 0.5781 GB, free: 17.24 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1687/2.188, allocations: 140.1 MB / 0.7149 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/2.189, allocations: 0 / 0.7149 GB, free: 8.867 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.0004263/2.189, allocations: 108.3 kB / 0.7151 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/2.189, allocations: 99.19 kB / 0.7151 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009167/2.199, allocations: 3.351 MB / 0.7184 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004914/2.199, allocations: 367.1 kB / 0.7188 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/2.199, allocations: 159.8 kB / 0.7189 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/2.2, allocations: 157.5 kB / 0.7191 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/2.2, allocations: 139.3 kB / 0.7192 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/2.2, allocations: 39.98 kB / 0.7192 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/2.212, allocations: 7.244 MB / 0.7263 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/2.212, allocations: 63.78 kB / 0.7264 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/2.212, allocations: 147.4 kB / 0.7265 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/2.217, allocations: 3.512 MB / 0.7299 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/2.217, allocations: 0 / 0.7299 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.442e-06/2.217, allocations: 0 / 0.7299 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.324e-06/2.217, allocations: 0 / 0.7299 GB, free: 9.5 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.001746/2.219, allocations: 0.7749 MB / 0.7307 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/2.219, allocations: 8.031 kB / 0.7307 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.904e-05/2.219, allocations: 37.62 kB / 0.7307 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/2.219, allocations: 197.2 kB / 0.7309 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/2.219, allocations: 29 kB / 0.731 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/2.219, allocations: 36 kB / 0.731 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/2.22, allocations: 417.2 kB / 0.7314 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/2.22, allocations: 5.641 kB / 0.7314 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/2.22, allocations: 20.59 kB / 0.7314 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/2.22, allocations: 12 kB / 0.7314 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/2.22, allocations: 250.4 kB / 0.7317 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/2.222, allocations: 1.598 MB / 0.7332 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/2.223, allocations: 166.8 kB / 0.7334 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/2.223, allocations: 86.14 kB / 0.7335 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01815/2.241, allocations: 4.861 MB / 0.7382 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/2.241, allocations: 34.5 kB / 0.7383 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/2.241, allocations: 0 / 0.7383 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0009588/2.242, allocations: 331 kB / 0.7386 GB, free: 488 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/2.242, allocations: 55.41 kB / 0.7386 GB, free: 420 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/2.243, allocations: 160.2 kB / 0.7388 GB, free: 252 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/2.243, allocations: 33.7 kB / 0.7388 GB, free: 212 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/2.243, allocations: 204.1 kB / 0.739 GB, free: 4 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.816e-05/2.243, allocations: 79.45 kB / 0.7391 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/2.243, allocations: 57.64 kB / 0.7391 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001567/2.243, allocations: 326.8 kB / 0.7394 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/2.243, allocations: 72.19 kB / 0.7395 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/2.243, allocations: 130.2 kB / 0.7396 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/2.244, allocations: 222.6 kB / 0.7398 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/2.244, allocations: 8 kB / 0.7399 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005589/2.244, allocations: 286.3 kB / 0.7401 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/2.244, allocations: 8 kB / 0.7401 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/2.244, allocations: 0.8906 kB / 0.7401 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/2.245, allocations: 73.7 kB / 0.7402 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/2.245, allocations: 63.89 kB / 0.7403 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008349/2.246, allocations: 1.094 MB / 0.7413 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/2.246, allocations: 25.25 kB / 0.7414 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/2.246, allocations: 12 kB / 0.7414 GB, free: 13.43 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.0001679/2.246, allocations: 148.9 kB / 0.7415 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/2.246, allocations: 11.91 kB / 0.7415 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/2.247, allocations: 248.4 kB / 0.7418 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/2.247, allocations: 15.92 kB / 0.7418 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/2.247, allocations: 0 / 0.7418 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/2.247, allocations: 1.375 kB / 0.7418 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/2.248, allocations: 0.5577 MB / 0.7423 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/2.248, allocations: 4 kB / 0.7423 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/2.248, allocations: 36.08 kB / 0.7424 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/2.248, allocations: 57.67 kB / 0.7424 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/2.248, allocations: 4 kB / 0.7424 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008386/2.249, allocations: 1.091 MB / 0.7435 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.249, allocations: 3.984 kB / 0.7435 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/2.25, allocations: 341.9 kB / 0.7438 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/2.25, allocations: 16.72 kB / 0.7438 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/2.25, allocations: 7.984 kB / 0.7438 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/2.25, allocations: 9.219 kB / 0.7438 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/2.25, allocations: 11.92 kB / 0.7439 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/2.25, allocations: 8 kB / 0.7439 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.26e-05/2.25, allocations: 114.5 kB / 0.744 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/2.25, allocations: 0 / 0.744 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00103/2.251, allocations: 435.1 kB / 0.7444 GB, free: 10.19 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.001483/2.253, allocations: 0.5068 MB / 0.7449 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004897/2.253, allocations: 185.6 kB / 0.7451 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/2.253, allocations: 0 / 0.7451 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/2.253, allocations: 99.81 kB / 0.7452 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/2.254, allocations: 57.89 kB / 0.7452 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/2.255, allocations: 0.5383 MB / 0.7457 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/2.255, allocations: 155.4 kB / 0.7459 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/2.255, allocations: 19.44 kB / 0.7459 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/2.255, allocations: 0 / 0.7459 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of Templates: time 0.01736/2.272, allocations: 11.77 MB / 0.7574 GB, free: 13.05 MB / 0.6231 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.makefile [Timeout 660] (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.254439597949386] Failed to read output from testmodel.py, exit status != 0: 2.6117953821085393 2.62171937 0.402313193 Calling exit ...