Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) 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.Fluid.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 1.095/1.095, allocations: 150.9 MB / 166 MB, free: 14.69 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004105, allocations: 11.98 kB / 204.1 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2462, allocations: 31.33 MB / 235.4 MB, free: 5.426 MB / 190.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.Fluid.Examples.SimpleExamples.TestAirHumidity): time 1.977/2.223, allocations: 294.3 MB / 0.5173 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7992/3.022, allocations: 190.1 MB / 0.703 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004873/3.023, allocations: 8.375 kB / 0.703 GB, free: 3.988 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:39:3-40:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:47:3-48:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004566/3.023, allocations: 92.33 kB / 0.7031 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004152/3.024, allocations: 144 kB / 0.7032 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03373/3.058, allocations: 9.041 MB / 0.712 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009967/3.059, allocations: 0.5499 MB / 0.7126 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/3.059, allocations: 278.2 kB / 0.7128 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/3.059, allocations: 225.5 kB / 0.713 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/3.06, allocations: 240.7 kB / 0.7133 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/3.06, allocations: 35.62 kB / 0.7133 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0452/3.105, allocations: 21.86 MB / 0.7346 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/3.105, allocations: 92.11 kB / 0.7347 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004643/3.106, allocations: 263.4 kB / 0.735 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03148/3.137, allocations: 10.56 MB / 0.7453 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/3.137, allocations: 0 / 0.7453 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.364e-06/3.137, allocations: 0 / 0.7453 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.02e-05/3.137, allocations: 0 / 0.7453 GB, free: 15.71 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007005/3.144, allocations: 1.929 MB / 0.7472 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/3.144, allocations: 13.16 kB / 0.7472 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.919e-05/3.144, allocations: 97.62 kB / 0.7473 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/3.144, allocations: 61 kB / 0.7473 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/3.145, allocations: 332 kB / 0.7477 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/3.145, allocations: 39 kB / 0.7477 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/3.145, allocations: 55.97 kB / 0.7478 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/3.146, allocations: 0.5448 MB / 0.7483 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/3.146, allocations: 0 / 0.7483 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/3.146, allocations: 21.91 kB / 0.7483 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/3.146, allocations: 18.03 kB / 0.7483 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/3.146, allocations: 361.2 kB / 0.7487 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/3.149, allocations: 2.935 MB / 0.7515 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/3.149, allocations: 153.4 kB / 0.7517 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/3.15, allocations: 88.2 kB / 0.7518 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3271/3.477, allocations: 182.2 MB / 0.9297 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/3.477, allocations: 37.47 kB / 0.9297 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 2.264e-06/3.477, allocations: 0 / 0.9297 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.001989/3.479, allocations: 0.6413 MB / 0.9304 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/3.479, allocations: 55.41 kB / 0.9304 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/3.479, allocations: 334.6 kB / 0.9307 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/3.479, allocations: 27.2 kB / 0.9308 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/3.48, allocations: 276.5 kB / 0.931 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/3.48, allocations: 89.22 kB / 0.9311 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/3.48, allocations: 83.47 kB / 0.9312 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001856/3.48, allocations: 343.1 kB / 0.9315 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/3.48, allocations: 82.64 kB / 0.9316 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/3.481, allocations: 207.7 kB / 0.9318 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/3.481, allocations: 312.2 kB / 0.9321 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/3.481, allocations: 0 / 0.9321 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001128/3.482, allocations: 465 kB / 0.9325 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/3.482, allocations: 5.203 kB / 0.9326 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/3.482, allocations: 4 kB / 0.9326 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/3.484, allocations: 261.1 kB / 0.9328 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/3.484, allocations: 49.16 kB / 0.9329 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/3.485, allocations: 1.251 MB / 0.9341 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/3.485, allocations: 48.5 kB / 0.9341 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/3.485, allocations: 22.23 kB / 0.9341 GB, free: 5.117 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (sourceFlueGasesPQ.fluid1,sourceFlueGasesPQ.C.ftype,airHumidity.fluid,singularPressureLoss.fluid,sinkFlueGases.fluid,singularPressureLoss.C2.diff_on_1,airHumidity.C1.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002865/3.486, allocations: 158 kB / 0.9343 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/3.486, allocations: 35.62 kB / 0.9343 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/3.487, allocations: 499.1 kB / 0.9348 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006848/3.487, allocations: 358.3 kB / 0.9351 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/3.487, allocations: 0 / 0.9351 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/3.487, allocations: 0 / 0.9351 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/3.489, allocations: 1.02 MB / 0.9361 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/3.489, allocations: 0 / 0.9361 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/3.489, allocations: 21.08 kB / 0.9362 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008106/3.49, allocations: 277.7 kB / 0.9364 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/3.49, allocations: 7.5 kB / 0.9364 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009952/3.491, allocations: 1.259 MB / 0.9377 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/3.491, allocations: 8.094 kB / 0.9377 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/3.492, allocations: 488 kB / 0.9381 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/3.492, allocations: 119.6 kB / 0.9382 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/3.492, allocations: 11.81 kB / 0.9383 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/3.492, allocations: 11.67 kB / 0.9383 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/3.492, allocations: 11.98 kB / 0.9383 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/3.492, allocations: 11.7 kB / 0.9383 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002339/3.493, allocations: 223.2 kB / 0.9385 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/3.493, allocations: 0 / 0.9385 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004625/3.497, allocations: 1.518 MB / 0.94 GB, free: 15.89 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01169/3.509, allocations: 3.21 MB / 0.9431 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009606/3.51, allocations: 366.1 kB / 0.9435 GB, free: 12.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/3.51, allocations: 0.875 kB / 0.9435 GB, free: 12.84 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005033/3.511, allocations: 185.7 kB / 0.9436 GB, free: 12.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/3.511, allocations: 136.3 kB / 0.9438 GB, free: 12.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007919/3.519, allocations: 4.208 MB / 0.9479 GB, free: 8.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/3.52, allocations: 0.8274 MB / 0.9487 GB, free: 7.824 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002435/3.52, allocations: 55.33 kB / 0.9487 GB, free: 7.777 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/3.52, allocations: 167.4 kB / 0.9489 GB, free: 7.613 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/3.52, allocations: 0 / 0.9489 GB, free: 7.613 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3746/3.895, allocations: 55.89 MB / 1.003 GB, free: 441.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/3.895, allocations: 290.7 kB / 1.004 GB, free: 440.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.497/8.392, allocations: 0 / 1.004 GB, free: 440.7 MB / 0.8262 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestAirHumidity_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestAirHumidity.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)