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.8675/0.8675, allocations: 153.8 MB / 172.7 MB, free: 4.832 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.0005611/0.0005611, allocations: 27.94 kB / 250.3 MB, free: 3.852 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1579, allocations: 33.35 MB / 283.7 MB, free: 2.047 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.91/2.067, allocations: 307.6 MB / 0.5774 GB, free: 17.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1723/2.24, allocations: 140.1 MB / 0.7142 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/2.24, allocations: 0 / 0.7142 GB, free: 8.68 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.0005966/2.241, allocations: 99.91 kB / 0.7143 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004297/2.241, allocations: 99.19 kB / 0.7144 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009468/2.25, allocations: 3.357 MB / 0.7177 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005641/2.251, allocations: 375 kB / 0.718 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/2.251, allocations: 158.2 kB / 0.7182 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/2.252, allocations: 155.4 kB / 0.7183 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/2.252, allocations: 135.3 kB / 0.7185 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/2.252, allocations: 32 kB / 0.7185 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/2.265, allocations: 7.249 MB / 0.7256 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/2.265, allocations: 71.7 kB / 0.7256 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/2.265, allocations: 147.4 kB / 0.7258 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006578/2.272, allocations: 3.512 MB / 0.7292 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/2.272, allocations: 0 / 0.7292 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/2.272, allocations: 0 / 0.7292 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.688e-06/2.272, allocations: 0 / 0.7292 GB, free: 9.312 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.001941/2.274, allocations: 0.7745 MB / 0.73 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/2.274, allocations: 8.031 kB / 0.73 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.709e-05/2.274, allocations: 40.7 kB / 0.73 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/2.274, allocations: 189.2 kB / 0.7302 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/2.274, allocations: 29 kB / 0.7302 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/2.274, allocations: 37.38 kB / 0.7303 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/2.275, allocations: 421.2 kB / 0.7307 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/2.275, allocations: 0 / 0.7307 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/2.275, allocations: 19.94 kB / 0.7307 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/2.275, allocations: 20 kB / 0.7307 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/2.276, allocations: 244.2 kB / 0.7309 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/2.278, allocations: 1.595 MB / 0.7325 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/2.278, allocations: 170.8 kB / 0.7327 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/2.278, allocations: 84.83 kB / 0.7327 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01827/2.297, allocations: 4.863 MB / 0.7375 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/2.297, allocations: 34.5 kB / 0.7375 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/2.297, allocations: 0 / 0.7375 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001043/2.298, allocations: 327.8 kB / 0.7378 GB, free: 304 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/2.298, allocations: 59.39 kB / 0.7379 GB, free: 232 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/2.298, allocations: 160.2 kB / 0.738 GB, free: 64 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/2.298, allocations: 29.7 kB / 0.7381 GB, free: 28 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/2.298, allocations: 204.2 kB / 0.7383 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/2.298, allocations: 83.25 kB / 0.7383 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/2.298, allocations: 53.66 kB / 0.7384 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001532/2.298, allocations: 330.8 kB / 0.7387 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/2.299, allocations: 68.19 kB / 0.7388 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/2.299, allocations: 134.7 kB / 0.7389 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/2.299, allocations: 217.6 kB / 0.7391 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/2.299, allocations: 4 kB / 0.7391 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005521/2.3, allocations: 286.5 kB / 0.7394 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/2.3, allocations: 4 kB / 0.7394 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/2.3, allocations: 7.984 kB / 0.7394 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/2.3, allocations: 70.56 kB / 0.7395 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/2.301, allocations: 63.89 kB / 0.7395 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008365/2.301, allocations: 1.097 MB / 0.7406 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/2.302, allocations: 28.41 kB / 0.7406 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/2.302, allocations: 17.78 kB / 0.7406 GB, free: 13.25 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.0001732/2.302, allocations: 143.6 kB / 0.7408 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/2.302, allocations: 15.91 kB / 0.7408 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/2.302, allocations: 242.9 kB / 0.741 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/2.302, allocations: 15.86 kB / 0.741 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/2.302, allocations: 0 / 0.741 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/2.302, allocations: 4 kB / 0.741 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/2.303, allocations: 0.5511 MB / 0.7416 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/2.303, allocations: 0 / 0.7416 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/2.304, allocations: 40.06 kB / 0.7416 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/2.304, allocations: 62.98 kB / 0.7417 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/2.304, allocations: 4 kB / 0.7417 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000767/2.305, allocations: 1.09 MB / 0.7428 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.305, allocations: 0 / 0.7428 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/2.305, allocations: 346 kB / 0.7431 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/2.305, allocations: 15.84 kB / 0.7431 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/2.305, allocations: 8 kB / 0.7431 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/2.305, allocations: 3.984 kB / 0.7431 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/2.305, allocations: 11.98 kB / 0.7431 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/2.305, allocations: 8.562 kB / 0.7431 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000107/2.306, allocations: 122.6 kB / 0.7432 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/2.306, allocations: 0 / 0.7432 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00141/2.307, allocations: 431.7 kB / 0.7437 GB, free: 10.01 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.002335/2.309, allocations: 0.5168 MB / 0.7442 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006347/2.31, allocations: 184.1 kB / 0.7443 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/2.31, allocations: 1.125 kB / 0.7443 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/2.31, allocations: 97.41 kB / 0.7444 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/2.311, allocations: 55.39 kB / 0.7445 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/2.312, allocations: 0.5159 MB / 0.745 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/2.312, allocations: 155.4 kB / 0.7451 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001068/2.312, allocations: 17.42 kB / 0.7452 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/2.312, allocations: 11.44 kB / 0.7452 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/2.312, allocations: 0 / 0.7452 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of Templates: time 0.02337/2.336, allocations: 13.8 MB / 0.7586 GB, free: 10.93 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: 6.551337867975235] Failed to read output from testmodel.py, exit status != 0: 2.70698550529778 2.717230684 0.442694156 Calling exit ...