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.8541/0.8541, allocations: 152.6 MB / 168.9 MB, free: 15.03 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: "" <> 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.000521/0.000521, allocations: 17.39 kB / 244.5 MB, free: 15.93 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06/0.06052, allocations: 33.06 MB / 277.5 MB, free: 1.125 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.833/1.893, allocations: 301.1 MB / 0.5651 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5319/2.425, allocations: 159.6 MB / 0.721 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/2.426, allocations: 2.156 kB / 0.721 GB, free: 15.93 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.0004295/2.426, allocations: 131 kB / 0.7211 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001767/2.426, allocations: 98.19 kB / 0.7212 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008224/2.434, allocations: 3.39 MB / 0.7245 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00054/2.435, allocations: 371.3 kB / 0.7249 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/2.435, allocations: 154.6 kB / 0.725 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/2.435, allocations: 152.3 kB / 0.7251 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/2.436, allocations: 158 kB / 0.7253 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/2.436, allocations: 32.62 kB / 0.7253 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/2.449, allocations: 7.601 MB / 0.7327 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/2.449, allocations: 70.83 kB / 0.7328 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/2.449, allocations: 173.3 kB / 0.733 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007722/2.457, allocations: 3.491 MB / 0.7364 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/2.457, allocations: 0 / 0.7364 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/2.457, allocations: 0 / 0.7364 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.418e-06/2.457, allocations: 3.094 kB / 0.7364 GB, free: 15.81 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.002601/2.459, allocations: 0.8451 MB / 0.7372 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/2.459, allocations: 10.66 kB / 0.7372 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.529e-05/2.46, allocations: 75.8 kB / 0.7373 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/2.46, allocations: 41.58 kB / 0.7373 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/2.46, allocations: 249.8 kB / 0.7376 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/2.46, allocations: 30.16 kB / 0.7376 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/2.46, allocations: 37.53 kB / 0.7376 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/2.461, allocations: 419 kB / 0.738 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/2.461, allocations: 4.328 kB / 0.738 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/2.461, allocations: 22.59 kB / 0.7381 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/2.461, allocations: 9.469 kB / 0.7381 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/2.461, allocations: 240.8 kB / 0.7383 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/2.463, allocations: 2.132 MB / 0.7404 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/2.464, allocations: 155.7 kB / 0.7405 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/2.464, allocations: 91.58 kB / 0.7406 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.018/2.482, allocations: 8.577 MB / 0.749 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/2.482, allocations: 37.94 kB / 0.749 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.374e-06/2.482, allocations: 0 / 0.749 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001077/2.483, allocations: 493.5 kB / 0.7495 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/2.483, allocations: 59.86 kB / 0.7496 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/2.483, allocations: 280.1 kB / 0.7498 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/2.483, allocations: 25.7 kB / 0.7499 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/2.484, allocations: 184.5 kB / 0.75 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/2.484, allocations: 86.53 kB / 0.7501 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/2.484, allocations: 49.89 kB / 0.7502 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001556/2.484, allocations: 340.6 kB / 0.7505 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/2.484, allocations: 69.34 kB / 0.7506 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/2.484, allocations: 129.9 kB / 0.7507 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/2.484, allocations: 225.2 kB / 0.7509 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.484, allocations: 0 / 0.7509 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004765/2.485, allocations: 299.2 kB / 0.7512 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/2.485, allocations: 4.75 kB / 0.7512 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/2.485, allocations: 4.188 kB / 0.7512 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/2.485, allocations: 70.2 kB / 0.7513 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/2.486, allocations: 59.36 kB / 0.7513 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007489/2.486, allocations: 1.1 MB / 0.7524 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/2.487, allocations: 38.7 kB / 0.7524 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/2.487, allocations: 12.84 kB / 0.7524 GB, free: 5.359 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.0001505/2.487, allocations: 148.5 kB / 0.7526 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/2.487, allocations: 29.06 kB / 0.7526 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/2.487, allocations: 256.1 kB / 0.7528 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/2.487, allocations: 10.44 kB / 0.7529 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/2.487, allocations: 7.938 kB / 0.7529 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/2.487, allocations: 2.094 kB / 0.7529 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/2.488, allocations: 0.6537 MB / 0.7535 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/2.488, allocations: 0 / 0.7535 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/2.488, allocations: 34.27 kB / 0.7535 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/2.489, allocations: 61.77 kB / 0.7536 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/2.489, allocations: 4.188 kB / 0.7536 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006867/2.489, allocations: 1.099 MB / 0.7547 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.489, allocations: 0 / 0.7547 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/2.49, allocations: 351.7 kB / 0.755 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/2.49, allocations: 99.94 kB / 0.7551 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/2.49, allocations: 9.406 kB / 0.7551 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/2.49, allocations: 7.172 kB / 0.7551 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/2.49, allocations: 9.125 kB / 0.7551 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/2.49, allocations: 10.8 kB / 0.7551 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001693/2.49, allocations: 200.8 kB / 0.7553 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.49, allocations: 1.406 kB / 0.7553 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001411/2.492, allocations: 409.8 kB / 0.7557 GB, free: 3.121 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.002065/2.494, allocations: 1.288 MB / 0.757 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004467/2.494, allocations: 181 kB / 0.7572 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/2.494, allocations: 0 / 0.7572 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/2.494, allocations: 98.7 kB / 0.7572 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/2.495, allocations: 85.39 kB / 0.7573 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/2.499, allocations: 3.021 MB / 0.7603 GB, free: 420 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/2.499, allocations: 0.7661 MB / 0.761 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00011/2.499, allocations: 28.39 kB / 0.7611 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/2.499, allocations: 97.55 kB / 0.7611 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/2.499, allocations: 0 / 0.7611 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/2.549, allocations: 18.42 MB / 0.7791 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/15.15, allocations: 8.859 kB / 0.7792 GB, free: 6.355 MB / 0.6075 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.975841666106135] Failed to read output from testmodel.py, exit status != 0: 15.411748270038515 15.42716047 12.967250438 Calling exit ...