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.6024/0.6024, allocations: 120.4 MB / 139.5 MB, free: 13.01 MB / 138.7 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 2.485e-06/2.485e-06, allocations: 0 / 216.7 MB, free: 8.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.277e-05, allocations: 2.281 kB / 216.7 MB, free: 8.625 MB / 202.7 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.092/1.092, allocations: 254.3 MB / 471 MB, free: 8.848 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4268/1.519, allocations: 140.2 MB / 0.5969 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/1.519, allocations: 4 kB / 0.5969 GB, free: 3.777 MB / 0.5261 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.0003766/1.519, allocations: 100.8 kB / 0.597 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/1.519, allocations: 107.1 kB / 0.5971 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.007079/1.526, allocations: 3.375 MB / 0.6004 GB, free: 264 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005605/1.527, allocations: 386.8 kB / 0.6007 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/1.527, allocations: 155 kB / 0.6009 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/1.528, allocations: 227.4 kB / 0.6011 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/1.528, allocations: 119.7 kB / 0.6012 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/1.528, allocations: 32 kB / 0.6012 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/1.538, allocations: 7.255 MB / 0.6083 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/1.538, allocations: 75.73 kB / 0.6084 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/1.538, allocations: 123.6 kB / 0.6085 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.008488/1.547, allocations: 4.565 MB / 0.613 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.547, allocations: 0 / 0.613 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.398e-06/1.547, allocations: 3.984 kB / 0.613 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.547, allocations: 0 / 0.613 GB, free: 3.324 MB / 0.5417 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.002244/1.549, allocations: 0.7638 MB / 0.6137 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.549, allocations: 12.03 kB / 0.6137 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/1.549, allocations: 74.72 kB / 0.6138 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/1.549, allocations: 44.64 kB / 0.6139 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/1.55, allocations: 189.5 kB / 0.614 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/1.55, allocations: 32.94 kB / 0.6141 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/1.55, allocations: 36 kB / 0.6141 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/1.55, allocations: 421.1 kB / 0.6145 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/1.55, allocations: 7.938 kB / 0.6145 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/1.55, allocations: 16 kB / 0.6145 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/1.55, allocations: 12 kB / 0.6145 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/1.551, allocations: 250.4 kB / 0.6148 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/1.552, allocations: 1.671 MB / 0.6164 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/1.553, allocations: 175.5 kB / 0.6166 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/1.553, allocations: 88.81 kB / 0.6167 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008876/1.562, allocations: 4.861 MB / 0.6214 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.562, allocations: 35.06 kB / 0.6214 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/1.562, allocations: 0.75 kB / 0.6214 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.0007478/1.562, allocations: 344.4 kB / 0.6218 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.563, allocations: 55.41 kB / 0.6218 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/1.563, allocations: 285.8 kB / 0.6221 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/1.563, allocations: 29.7 kB / 0.6221 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/1.563, allocations: 192.5 kB / 0.6223 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/1.563, allocations: 79.27 kB / 0.6224 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/1.563, allocations: 49.7 kB / 0.6224 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/1.563, allocations: 343.8 kB / 0.6228 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/1.563, allocations: 64.25 kB / 0.6228 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/1.563, allocations: 133.1 kB / 0.6229 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/1.563, allocations: 220.3 kB / 0.6232 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.563, allocations: 0.5 kB / 0.6232 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003438/1.564, allocations: 302.8 kB / 0.6234 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.564, allocations: 8 kB / 0.6235 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.564, allocations: 0 / 0.6235 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/1.564, allocations: 73.95 kB / 0.6235 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/1.564, allocations: 65.27 kB / 0.6236 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005498/1.565, allocations: 1.099 MB / 0.6247 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/1.565, allocations: 39.7 kB / 0.6247 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/1.565, allocations: 12.16 kB / 0.6247 GB, free: 6.945 MB / 0.5573 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.0001647/1.565, allocations: 146.3 kB / 0.6248 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/1.565, allocations: 27.81 kB / 0.6249 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/1.566, allocations: 263.7 kB / 0.6251 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/1.566, allocations: 3.984 kB / 0.6251 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.566, allocations: 4 kB / 0.6251 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.566, allocations: 0.6562 kB / 0.6251 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/1.566, allocations: 0.6133 MB / 0.6257 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.566, allocations: 0 / 0.6257 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/1.567, allocations: 35.91 kB / 0.6258 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001602/1.567, allocations: 65.77 kB / 0.6258 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/1.567, allocations: 4.562 kB / 0.6258 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004303/1.567, allocations: 1.081 MB / 0.6269 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.567, allocations: 9.188 kB / 0.6269 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/1.567, allocations: 357 kB / 0.6272 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/1.567, allocations: 32.55 kB / 0.6273 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/1.567, allocations: 11.88 kB / 0.6273 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/1.568, allocations: 4 kB / 0.6273 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/1.568, allocations: 11.98 kB / 0.6273 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/1.568, allocations: 4 kB / 0.6273 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001347/1.568, allocations: 205.2 kB / 0.6275 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/1.568, allocations: 0 / 0.6275 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001253/1.569, allocations: 411.4 kB / 0.6279 GB, free: 3.523 MB / 0.5573 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.001984/1.571, allocations: 1.34 MB / 0.6292 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004065/1.571, allocations: 194.8 kB / 0.6294 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.571, allocations: 0 / 0.6294 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/1.571, allocations: 88.41 kB / 0.6295 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/1.572, allocations: 85.53 kB / 0.6295 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/1.575, allocations: 3.034 MB / 0.6325 GB, free: 14.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/1.575, allocations: 163.9 kB / 0.6327 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001207/1.575, allocations: 26.25 kB / 0.6327 GB, free: 14.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/1.575, allocations: 100.5 kB / 0.6328 GB, free: 14.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.873e-06/1.575, allocations: 0 / 0.6328 GB, free: 14.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04243/1.618, allocations: 19.43 MB / 0.6518 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/12.33, allocations: 7.625 kB / 0.6518 GB, free: 11.14 MB / 0.5886 GB " [Timeout remaining time 647] (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: 14.090410256758332] Failed to read output from testmodel.py, exit status != 0: 12.710701854899526 12.861471624 11.312715035 Calling exit ...