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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8504/0.8504, allocations: 152.6 MB / 170.1 MB, free: 14.43 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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.0005258/0.0005258, allocations: 16.14 kB / 246.8 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05691/0.05743, allocations: 33.06 MB / 279.8 MB, free: 15.81 MB / 238.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity): time 1.691/1.748, allocations: 301 MB / 0.5672 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.477/2.225, allocations: 159.7 MB / 0.7231 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/2.226, allocations: 2.656 kB / 0.7232 GB, free: 15.73 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0003625/2.226, allocations: 126 kB / 0.7233 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/2.226, allocations: 100.2 kB / 0.7234 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007473/2.234, allocations: 3.396 MB / 0.7267 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004978/2.234, allocations: 369.1 kB / 0.727 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/2.234, allocations: 150.3 kB / 0.7272 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/2.234, allocations: 154.6 kB / 0.7273 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/2.235, allocations: 162.3 kB / 0.7275 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/2.235, allocations: 32.12 kB / 0.7275 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/2.247, allocations: 7.588 MB / 0.7349 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/2.247, allocations: 75.67 kB / 0.735 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002561/2.247, allocations: 175 kB / 0.7352 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006302/2.254, allocations: 3.496 MB / 0.7386 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/2.254, allocations: 0 / 0.7386 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/2.254, allocations: 7.531 kB / 0.7386 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.165e-06/2.254, allocations: 0 / 0.7386 GB, free: 15.6 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.002264/2.256, allocations: 0.8456 MB / 0.7394 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/2.256, allocations: 10.12 kB / 0.7394 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/2.256, allocations: 41.91 kB / 0.7395 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/2.256, allocations: 254.8 kB / 0.7397 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/2.256, allocations: 28 kB / 0.7397 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/2.256, allocations: 36.8 kB / 0.7398 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/2.257, allocations: 424 kB / 0.7402 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/2.257, allocations: 3.062 kB / 0.7402 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/2.257, allocations: 18.92 kB / 0.7402 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/2.257, allocations: 10.09 kB / 0.7402 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/2.257, allocations: 242.9 kB / 0.7404 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/2.259, allocations: 2.12 MB / 0.7425 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/2.26, allocations: 160.5 kB / 0.7427 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/2.26, allocations: 86.08 kB / 0.7427 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/2.278, allocations: 8.588 MB / 0.7511 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/2.278, allocations: 32.91 kB / 0.7512 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.575e-06/2.278, allocations: 0 / 0.7512 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001349/2.28, allocations: 0.4901 MB / 0.7516 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/2.28, allocations: 51.41 kB / 0.7517 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/2.28, allocations: 282.7 kB / 0.7519 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/2.28, allocations: 29.08 kB / 0.752 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/2.28, allocations: 183.1 kB / 0.7522 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/2.28, allocations: 81.44 kB / 0.7522 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/2.28, allocations: 50.7 kB / 0.7523 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000213/2.281, allocations: 342 kB / 0.7526 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/2.281, allocations: 66.62 kB / 0.7527 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/2.281, allocations: 143.9 kB / 0.7528 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/2.281, allocations: 219.5 kB / 0.753 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/2.281, allocations: 0 / 0.753 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004935/2.282, allocations: 297 kB / 0.7533 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/2.282, allocations: 5.219 kB / 0.7533 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/2.282, allocations: 3.406 kB / 0.7533 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/2.282, allocations: 65.02 kB / 0.7534 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/2.283, allocations: 65.48 kB / 0.7534 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007829/2.283, allocations: 1.097 MB / 0.7545 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/2.284, allocations: 39.31 kB / 0.7545 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/2.284, allocations: 11.97 kB / 0.7546 GB, free: 5.086 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.0001457/2.284, allocations: 145.7 kB / 0.7547 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/2.284, allocations: 31.27 kB / 0.7547 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/2.284, allocations: 268 kB / 0.755 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/2.284, allocations: 3.125 kB / 0.755 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/2.284, allocations: 3.938 kB / 0.755 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/2.284, allocations: 2.125 kB / 0.755 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/2.285, allocations: 0.6509 MB / 0.7556 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/2.285, allocations: 1.188 kB / 0.7556 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/2.286, allocations: 33.94 kB / 0.7557 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/2.286, allocations: 64.14 kB / 0.7557 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/2.286, allocations: 2.375 kB / 0.7557 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006735/2.286, allocations: 1.087 MB / 0.7568 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/2.286, allocations: 2.125 kB / 0.7568 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/2.287, allocations: 348.6 kB / 0.7571 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/2.287, allocations: 112.7 kB / 0.7572 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/2.287, allocations: 3.562 kB / 0.7572 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/2.287, allocations: 9.625 kB / 0.7572 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/2.287, allocations: 11.95 kB / 0.7572 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/2.287, allocations: 3.469 kB / 0.7572 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001805/2.287, allocations: 205 kB / 0.7574 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.287, allocations: 0 / 0.7574 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001355/2.289, allocations: 418 kB / 0.7578 GB, free: 2.848 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.001537/2.29, allocations: 0.5022 MB / 0.7583 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004885/2.291, allocations: 191.9 kB / 0.7585 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/2.291, allocations: 0 / 0.7585 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/2.291, allocations: 90.84 kB / 0.7586 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/2.292, allocations: 96.28 kB / 0.7587 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/2.292, allocations: 0.5301 MB / 0.7592 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/2.293, allocations: 0.7679 MB / 0.76 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000104/2.293, allocations: 32.84 kB / 0.76 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/2.293, allocations: 21.16 kB / 0.76 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/2.293, allocations: 3.844 kB / 0.76 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of Templates: time 0.02183/2.315, allocations: 14.89 MB / 0.7746 GB, free: 10.05 MB / 0.6075 GB " [Timeout remaining time 658] 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: 6.288390473462641]