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.7999/0.7999, allocations: 152.6 MB / 169.6 MB, free: 14.91 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.0004797/0.0004797, allocations: 19.34 kB / 245.6 MB, free: 15.59 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05217/0.05265, allocations: 33.06 MB / 278.7 MB, free: 0.5898 MB / 222.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.576/1.629, allocations: 301.1 MB / 0.5662 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4259/2.055, allocations: 159.6 MB / 0.7221 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/2.055, allocations: 2.406 kB / 0.7221 GB, free: 15.78 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.0003397/2.055, allocations: 133 kB / 0.7222 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/2.055, allocations: 95.58 kB / 0.7223 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00633/2.061, allocations: 3.393 MB / 0.7256 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003276/2.062, allocations: 365.7 kB / 0.726 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/2.062, allocations: 152.1 kB / 0.7261 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/2.062, allocations: 155.4 kB / 0.7263 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/2.062, allocations: 160.4 kB / 0.7264 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/2.062, allocations: 38.38 kB / 0.7265 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009718/2.072, allocations: 7.583 MB / 0.7339 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/2.072, allocations: 73.72 kB / 0.7339 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/2.072, allocations: 178.1 kB / 0.7341 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003731/2.076, allocations: 3.499 MB / 0.7375 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/2.076, allocations: 0 / 0.7375 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/2.076, allocations: 0 / 0.7375 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.623e-06/2.076, allocations: 0 / 0.7375 GB, free: 15.66 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.00167/2.078, allocations: 0.8455 MB / 0.7384 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/2.078, allocations: 13.78 kB / 0.7384 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/2.078, allocations: 40.17 kB / 0.7384 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/2.078, allocations: 254.1 kB / 0.7387 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/2.078, allocations: 28.34 kB / 0.7387 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/2.078, allocations: 34.38 kB / 0.7387 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/2.079, allocations: 424.3 kB / 0.7391 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/2.079, allocations: 7.922 kB / 0.7391 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/2.079, allocations: 13.06 kB / 0.7391 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/2.079, allocations: 11.69 kB / 0.7391 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/2.079, allocations: 245.9 kB / 0.7394 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/2.081, allocations: 2.122 MB / 0.7415 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/2.082, allocations: 166.3 kB / 0.7416 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/2.082, allocations: 82.62 kB / 0.7417 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01702/2.099, allocations: 8.581 MB / 0.7501 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/2.099, allocations: 34.55 kB / 0.7501 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/2.099, allocations: 0 / 0.7501 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0009494/2.1, allocations: 0.4909 MB / 0.7506 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/2.1, allocations: 54.22 kB / 0.7506 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/2.1, allocations: 287.5 kB / 0.7509 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/2.1, allocations: 30.17 kB / 0.7509 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/2.1, allocations: 188.5 kB / 0.7511 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/2.1, allocations: 79.5 kB / 0.7512 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/2.1, allocations: 50.5 kB / 0.7512 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001423/2.1, allocations: 341.9 kB / 0.7516 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/2.101, allocations: 61.66 kB / 0.7516 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/2.101, allocations: 137.8 kB / 0.7518 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/2.101, allocations: 219.4 kB / 0.752 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.101, allocations: 0 / 0.752 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004551/2.101, allocations: 295.3 kB / 0.7522 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/2.101, allocations: 13.88 kB / 0.7523 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/2.101, allocations: 0.9375 kB / 0.7523 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/2.102, allocations: 62.67 kB / 0.7523 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/2.102, allocations: 62.31 kB / 0.7524 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007229/2.103, allocations: 1.103 MB / 0.7535 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/2.103, allocations: 37.2 kB / 0.7535 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/2.103, allocations: 9.641 kB / 0.7535 GB, free: 5.246 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.0001395/2.103, allocations: 148.6 kB / 0.7536 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/2.103, allocations: 28.88 kB / 0.7537 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/2.104, allocations: 261.2 kB / 0.7539 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/2.104, allocations: 6.469 kB / 0.7539 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/2.104, allocations: 5.875 kB / 0.7539 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/2.104, allocations: 0 / 0.7539 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/2.105, allocations: 0.6558 MB / 0.7546 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/2.105, allocations: 2.344 kB / 0.7546 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/2.105, allocations: 31.17 kB / 0.7546 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/2.105, allocations: 65.98 kB / 0.7547 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/2.105, allocations: 6.531 kB / 0.7547 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006778/2.106, allocations: 1.086 MB / 0.7557 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/2.106, allocations: 6.5 kB / 0.7557 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/2.106, allocations: 345.7 kB / 0.7561 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/2.106, allocations: 115.5 kB / 0.7562 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/2.106, allocations: 3.594 kB / 0.7562 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/2.106, allocations: 3.625 kB / 0.7562 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/2.106, allocations: 12.2 kB / 0.7562 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/2.106, allocations: 7.094 kB / 0.7562 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001596/2.107, allocations: 204.5 kB / 0.7564 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.107, allocations: 0 / 0.7564 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009519/2.107, allocations: 417 kB / 0.7568 GB, free: 3.012 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.001339/2.109, allocations: 0.5038 MB / 0.7573 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004176/2.109, allocations: 192.9 kB / 0.7575 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/2.109, allocations: 0.9375 kB / 0.7575 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/2.109, allocations: 92.38 kB / 0.7576 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/2.11, allocations: 86.73 kB / 0.7576 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00078/2.111, allocations: 0.5516 MB / 0.7582 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/2.111, allocations: 0.7681 MB / 0.7589 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/2.111, allocations: 24.95 kB / 0.759 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/2.111, allocations: 0 / 0.759 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of Templates: time 0.01405/2.125, allocations: 12.29 MB / 0.771 GB, free: 11.34 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: 8.47330892086029] Failed to read output from testmodel.py, exit status != 0: 2.258269388927147 2.2709421610000002 0.192287376 Calling exit ...