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.858/0.858, allocations: 152.6 MB / 171.4 MB, free: 6.004 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.0005654/0.0005654, allocations: 15.97 kB / 248.5 MB, free: 5.648 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1659, allocations: 33.06 MB / 281.6 MB, free: 3.566 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.556/1.722, allocations: 301.1 MB / 0.569 GB, free: 5.586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.3994/2.121, allocations: 159.7 MB / 0.725 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/2.121, allocations: 0 / 0.725 GB, free: 0.6172 MB / 0.5762 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.0004571/2.122, allocations: 129.1 kB / 0.7251 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/2.122, allocations: 103.1 kB / 0.7252 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009464/2.131, allocations: 3.384 MB / 0.7285 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005269/2.132, allocations: 375 kB / 0.7289 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/2.132, allocations: 156.7 kB / 0.729 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/2.133, allocations: 155.4 kB / 0.7292 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/2.133, allocations: 159.3 kB / 0.7293 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/2.133, allocations: 36 kB / 0.7293 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/2.147, allocations: 7.593 MB / 0.7368 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/2.147, allocations: 75.7 kB / 0.7368 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002135/2.147, allocations: 175.2 kB / 0.737 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006588/2.154, allocations: 3.492 MB / 0.7404 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/2.154, allocations: 0 / 0.7404 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/2.154, allocations: 0 / 0.7404 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.878e-06/2.154, allocations: 0 / 0.7404 GB, free: 0.7969 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.002136/2.156, allocations: 0.769 MB / 0.7412 GB, free: 0 / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/2.156, allocations: 12.02 kB / 0.7412 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/2.156, allocations: 42.02 kB / 0.7412 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/2.156, allocations: 199.6 kB / 0.7414 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/2.156, allocations: 29 kB / 0.7414 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/2.156, allocations: 36 kB / 0.7415 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/2.157, allocations: 421.2 kB / 0.7419 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/2.157, allocations: 0 / 0.7419 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/2.157, allocations: 16 kB / 0.7419 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/2.157, allocations: 11.98 kB / 0.7419 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/2.158, allocations: 251.7 kB / 0.7421 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/2.16, allocations: 2.013 MB / 0.7441 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/2.161, allocations: 164.8 kB / 0.7443 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/2.161, allocations: 85.92 kB / 0.7443 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01814/2.179, allocations: 4.854 MB / 0.7491 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/2.179, allocations: 30.56 kB / 0.7491 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 4.849e-06/2.179, allocations: 4 kB / 0.7491 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001105/2.18, allocations: 342.9 kB / 0.7494 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/2.18, allocations: 51.41 kB / 0.7495 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/2.181, allocations: 285.9 kB / 0.7498 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/2.181, allocations: 29.7 kB / 0.7498 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/2.181, allocations: 180.6 kB / 0.75 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/2.181, allocations: 83.25 kB / 0.75 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/2.181, allocations: 51.48 kB / 0.7501 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000151/2.181, allocations: 342.8 kB / 0.7504 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/2.181, allocations: 64.25 kB / 0.7505 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/2.181, allocations: 137 kB / 0.7506 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/2.182, allocations: 226.7 kB / 0.7508 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/2.182, allocations: 0 / 0.7508 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000589/2.182, allocations: 304.2 kB / 0.7511 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/2.182, allocations: 8 kB / 0.7511 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/2.182, allocations: 3.938 kB / 0.7511 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/2.183, allocations: 73.95 kB / 0.7512 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/2.183, allocations: 59.89 kB / 0.7512 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007881/2.184, allocations: 1.101 MB / 0.7523 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/2.184, allocations: 35.67 kB / 0.7524 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/2.184, allocations: 8 kB / 0.7524 GB, free: 4.125 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.0001602/2.184, allocations: 147.4 kB / 0.7525 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/2.184, allocations: 31.81 kB / 0.7525 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/2.185, allocations: 262.8 kB / 0.7528 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/2.185, allocations: 7.984 kB / 0.7528 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/2.185, allocations: 4.5 kB / 0.7528 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/2.185, allocations: 0 / 0.7528 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/2.186, allocations: 0.6309 MB / 0.7534 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/2.186, allocations: 0 / 0.7534 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/2.186, allocations: 36.02 kB / 0.7534 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002547/2.186, allocations: 57.67 kB / 0.7535 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/2.186, allocations: 5.812 kB / 0.7535 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007097/2.187, allocations: 1.1 MB / 0.7546 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/2.187, allocations: 0 / 0.7546 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/2.188, allocations: 347.7 kB / 0.7549 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/2.188, allocations: 31.75 kB / 0.7549 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/2.188, allocations: 5.812 kB / 0.755 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/2.188, allocations: 7.984 kB / 0.755 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/2.188, allocations: 7.984 kB / 0.755 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/2.188, allocations: 8 kB / 0.755 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002091/2.188, allocations: 201.2 kB / 0.7552 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/2.188, allocations: 4 kB / 0.7552 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001193/2.189, allocations: 419.3 kB / 0.7556 GB, free: 0.6836 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.001762/2.191, allocations: 0.4942 MB / 0.7561 GB, free: 184 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005871/2.192, allocations: 189.6 kB / 0.7562 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.192, allocations: 4 kB / 0.7562 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/2.192, allocations: 93.16 kB / 0.7563 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/2.193, allocations: 84.19 kB / 0.7564 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/2.193, allocations: 0.5283 MB / 0.7569 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/2.194, allocations: 0.7679 MB / 0.7577 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001107/2.194, allocations: 28.02 kB / 0.7577 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/2.194, allocations: 23.44 kB / 0.7577 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/2.194, allocations: 0 / 0.7577 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.02447/2.218, allocations: 14.95 MB / 0.7723 GB, free: 15.8 MB / 0.6387 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.258796093054116] Failed to read output from testmodel.py, exit status != 0: 2.545424746349454 2.555903471 0.39955402999999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f53741617b0>