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 0.8759/0.8759, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.927e-05, allocations: 4 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 31.98 MB / 236.8 MB, free: 5.305 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity): time 1.932/2.15, allocations: 295.2 MB / 0.5196 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2594/2.41, allocations: 187.9 MB / 0.7031 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/2.41, allocations: 7.938 kB / 0.7031 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004344/2.411, allocations: 91.41 kB / 0.7032 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004847/2.411, allocations: 146.9 kB / 0.7033 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.5984/3.01, allocations: 9.193 MB / 0.7123 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001101/3.011, allocations: 0.5519 MB / 0.7128 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/3.011, allocations: 251.7 kB / 0.7131 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/3.012, allocations: 187.3 kB / 0.7133 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/3.012, allocations: 203.9 kB / 0.7135 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/3.012, allocations: 23.75 kB / 0.7135 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04678/3.059, allocations: 21.93 MB / 0.7349 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/3.059, allocations: 74.44 kB / 0.735 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004392/3.059, allocations: 261.7 kB / 0.7352 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03681/3.096, allocations: 10.49 MB / 0.7454 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/3.096, allocations: 0 / 0.7454 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/3.096, allocations: 0 / 0.7454 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.978e-06/3.096, allocations: 0 / 0.7454 GB, free: 15.44 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.008043/3.104, allocations: 1.836 MB / 0.7472 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/3.104, allocations: 8.812 kB / 0.7472 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/3.104, allocations: 100.6 kB / 0.7473 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/3.105, allocations: 63.5 kB / 0.7474 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/3.105, allocations: 332 kB / 0.7477 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/3.105, allocations: 39.78 kB / 0.7478 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/3.105, allocations: 53.12 kB / 0.7478 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008601/3.106, allocations: 0.5467 MB / 0.7483 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/3.106, allocations: 4.875 kB / 0.7483 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/3.106, allocations: 21.95 kB / 0.7484 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/3.106, allocations: 18.72 kB / 0.7484 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/3.107, allocations: 368 kB / 0.7487 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/3.11, allocations: 2.924 MB / 0.7516 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/3.11, allocations: 147 kB / 0.7517 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/3.11, allocations: 92.39 kB / 0.7518 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3557/3.466, allocations: 183.6 MB / 0.9311 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/3.466, allocations: 30.56 kB / 0.9311 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/3.466, allocations: 0 / 0.9311 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.001779/3.468, allocations: 0.6563 MB / 0.9318 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/3.468, allocations: 55.41 kB / 0.9318 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/3.468, allocations: 330.8 kB / 0.9321 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/3.468, allocations: 29.52 kB / 0.9322 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/3.468, allocations: 271.9 kB / 0.9324 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/3.469, allocations: 90.16 kB / 0.9325 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/3.469, allocations: 42.52 kB / 0.9325 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001326/3.469, allocations: 345.3 kB / 0.9329 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/3.469, allocations: 80.64 kB / 0.9329 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/3.469, allocations: 203.8 kB / 0.9331 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/3.47, allocations: 316.7 kB / 0.9334 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/3.47, allocations: 0 / 0.9334 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009458/3.471, allocations: 456.8 kB / 0.9339 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/3.471, allocations: 8 kB / 0.9339 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/3.471, allocations: 4 kB / 0.9339 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009637/3.472, allocations: 266.1 kB / 0.9341 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/3.472, allocations: 43.05 kB / 0.9342 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/3.473, allocations: 1.257 MB / 0.9354 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/3.473, allocations: 51.69 kB / 0.9355 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/3.473, allocations: 15.48 kB / 0.9355 GB, free: 5.32 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.0002123/3.473, allocations: 174.6 kB / 0.9356 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/3.473, allocations: 31.69 kB / 0.9357 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/3.474, allocations: 485.4 kB / 0.9361 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00064/3.475, allocations: 371.8 kB / 0.9365 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/3.475, allocations: 144 / 0.9365 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/3.475, allocations: 3.984 kB / 0.9365 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/3.476, allocations: 1.007 MB / 0.9375 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/3.476, allocations: 4.031 kB / 0.9375 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/3.477, allocations: 25.98 kB / 0.9375 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007602/3.477, allocations: 263.2 kB / 0.9378 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/3.477, allocations: 15.36 kB / 0.9378 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008651/3.478, allocations: 1.253 MB / 0.939 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/3.478, allocations: 8.047 kB / 0.939 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/3.479, allocations: 0.4939 MB / 0.9395 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/3.479, allocations: 114.8 kB / 0.9396 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/3.479, allocations: 7.625 kB / 0.9396 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/3.479, allocations: 11.8 kB / 0.9396 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/3.479, allocations: 19.42 kB / 0.9396 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/3.479, allocations: 8 kB / 0.9396 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002206/3.48, allocations: 234.1 kB / 0.9399 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/3.48, allocations: 0 / 0.9399 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004859/3.484, allocations: 1.509 MB / 0.9413 GB, free: 84 kB / 0.7794 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.007917/3.492, allocations: 3.196 MB / 0.9445 GB, free: 13.28 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009758/3.493, allocations: 351.4 kB / 0.9448 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/3.493, allocations: 0.875 kB / 0.9448 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004914/3.494, allocations: 193.5 kB / 0.945 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/3.495, allocations: 133.2 kB / 0.9451 GB, free: 12.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/3.502, allocations: 4.243 MB / 0.9492 GB, free: 8.875 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/3.502, allocations: 0.8274 MB / 0.9501 GB, free: 8.016 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002368/3.503, allocations: 55.2 kB / 0.9501 GB, free: 7.965 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/3.503, allocations: 158.4 kB / 0.9503 GB, free: 7.93 MB / 0.795 GB Notification: Performance of SimCode: time 6.71e-07/3.503, allocations: 0 / 0.9503 GB, free: 7.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3273/3.83, allocations: 54.76 MB / 1.004 GB, free: 438.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/3.83, allocations: 283.2 kB / 1.004 GB, free: 438.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.445/8.275, allocations: 0.7656 kB / 1.004 GB, free: 438.3 MB / 0.8106 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)