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.8036/0.8036, allocations: 153.8 MB / 172.7 MB, free: 4.883 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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005045, allocations: 11.97 kB / 249.8 MB, free: 4.387 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1659, allocations: 33.35 MB / 283.2 MB, free: 1.73 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.745/1.911, allocations: 307.6 MB / 0.5769 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1555/2.067, allocations: 140.2 MB / 0.7137 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/2.067, allocations: 4 kB / 0.7137 GB, free: 9.059 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.0003697/2.067, allocations: 99.91 kB / 0.7138 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/2.067, allocations: 96.03 kB / 0.7139 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00802/2.075, allocations: 3.35 MB / 0.7172 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004457/2.076, allocations: 367 kB / 0.7175 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/2.076, allocations: 156.6 kB / 0.7177 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/2.076, allocations: 163.4 kB / 0.7178 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/2.076, allocations: 131.3 kB / 0.718 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/2.076, allocations: 35.94 kB / 0.718 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/2.088, allocations: 7.242 MB / 0.7251 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/2.088, allocations: 75.77 kB / 0.7251 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/2.088, allocations: 147.4 kB / 0.7253 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004939/2.093, allocations: 3.508 MB / 0.7287 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/2.093, allocations: 4 kB / 0.7287 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/2.093, allocations: 4 kB / 0.7287 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.143e-06/2.093, allocations: 2.062 kB / 0.7287 GB, free: 9.695 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.001592/2.095, allocations: 0.7671 MB / 0.7295 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/2.095, allocations: 12.03 kB / 0.7295 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.007e-05/2.095, allocations: 78.72 kB / 0.7296 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/2.095, allocations: 44.73 kB / 0.7296 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/2.095, allocations: 190.7 kB / 0.7298 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/2.095, allocations: 29 kB / 0.7298 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/2.095, allocations: 33.56 kB / 0.7298 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/2.096, allocations: 421.2 kB / 0.7302 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/2.096, allocations: 3.938 kB / 0.7302 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/2.096, allocations: 16 kB / 0.7303 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/2.096, allocations: 15.98 kB / 0.7303 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/2.096, allocations: 238.4 kB / 0.7305 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/2.098, allocations: 1.705 MB / 0.7322 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/2.099, allocations: 171.5 kB / 0.7323 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/2.099, allocations: 90.69 kB / 0.7324 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/2.115, allocations: 4.854 MB / 0.7372 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/2.115, allocations: 38.5 kB / 0.7372 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.665e-06/2.115, allocations: 1.969 kB / 0.7372 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001022/2.116, allocations: 339 kB / 0.7375 GB, free: 484 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/2.117, allocations: 55.97 kB / 0.7376 GB, free: 416 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/2.117, allocations: 289.8 kB / 0.7379 GB, free: 120 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/2.117, allocations: 29.7 kB / 0.7379 GB, free: 84 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/2.117, allocations: 188.6 kB / 0.7381 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/2.117, allocations: 79.22 kB / 0.7381 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/2.117, allocations: 57.64 kB / 0.7382 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001503/2.117, allocations: 340.5 kB / 0.7385 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/2.117, allocations: 64.25 kB / 0.7386 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/2.118, allocations: 129.1 kB / 0.7387 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/2.118, allocations: 225.1 kB / 0.7389 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.118, allocations: 4.688 kB / 0.7389 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005343/2.119, allocations: 298.8 kB / 0.7392 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/2.119, allocations: 12.77 kB / 0.7392 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/2.119, allocations: 0 / 0.7392 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/2.119, allocations: 69.61 kB / 0.7393 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/2.119, allocations: 60.19 kB / 0.7393 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007543/2.12, allocations: 1.094 MB / 0.7404 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/2.12, allocations: 47.56 kB / 0.7405 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/2.12, allocations: 11.98 kB / 0.7405 GB, free: 13.29 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.0001488/2.12, allocations: 150.6 kB / 0.7406 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/2.12, allocations: 27.81 kB / 0.7406 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/2.121, allocations: 254.1 kB / 0.7409 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/2.121, allocations: 7.938 kB / 0.7409 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/2.121, allocations: 1.5 kB / 0.7409 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/2.121, allocations: 0.9375 kB / 0.7409 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/2.122, allocations: 0.6108 MB / 0.7415 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/2.122, allocations: 0.75 kB / 0.7415 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/2.122, allocations: 27.98 kB / 0.7415 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/2.122, allocations: 65.77 kB / 0.7416 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/2.122, allocations: 4 kB / 0.7416 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006723/2.123, allocations: 1.095 MB / 0.7426 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/2.123, allocations: 4.031 kB / 0.7427 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/2.124, allocations: 348.2 kB / 0.743 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/2.124, allocations: 32.52 kB / 0.743 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/2.124, allocations: 8 kB / 0.743 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/2.124, allocations: 0 / 0.743 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/2.124, allocations: 19.97 kB / 0.743 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/2.124, allocations: 7.938 kB / 0.743 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001942/2.124, allocations: 205.2 kB / 0.7432 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/2.124, allocations: 1.312 kB / 0.7432 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001109/2.125, allocations: 415.3 kB / 0.7436 GB, free: 9.863 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.002098/2.127, allocations: 1.298 MB / 0.7449 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004838/2.128, allocations: 192.4 kB / 0.7451 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/2.128, allocations: 4 kB / 0.7451 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/2.128, allocations: 91.86 kB / 0.7452 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/2.128, allocations: 87.06 kB / 0.7453 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/2.132, allocations: 3.031 MB / 0.7482 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/2.132, allocations: 156.7 kB / 0.7484 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001026/2.133, allocations: 28.12 kB / 0.7484 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/2.133, allocations: 97.33 kB / 0.7485 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/2.133, allocations: 0 / 0.7485 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05319/2.186, allocations: 19.28 MB / 0.7673 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/15.01, allocations: 10.11 kB / 0.7673 GB, free: 2.047 MB / 0.6231 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.86341791925952] Failed to read output from testmodel.py, exit status != 0: 15.479016274213791 15.489494416 13.394263346 Calling exit ...