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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8936/0.8936, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.731e-05, allocations: 4 kB / 204.9 MB, free: 9.984 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1579, allocations: 31.99 MB / 236.8 MB, free: 5.285 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.Examples.SimpleExamples.TestAirHumidity): time 1.595/1.753, allocations: 294.6 MB / 0.519 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1536/1.907, allocations: 156.7 MB / 0.672 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/1.907, allocations: 3.938 kB / 0.672 GB, free: 120 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003243/1.908, allocations: 71.64 kB / 0.6721 GB, free: 48 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/1.908, allocations: 83.36 kB / 0.6722 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007145/1.915, allocations: 2.534 MB / 0.6746 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004316/1.915, allocations: 351 kB / 0.675 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/1.916, allocations: 149 kB / 0.6751 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/1.916, allocations: 127.4 kB / 0.6752 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/1.916, allocations: 127.3 kB / 0.6754 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/1.916, allocations: 16 kB / 0.6754 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01194/1.928, allocations: 7.455 MB / 0.6827 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/1.928, allocations: 55.72 kB / 0.6827 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/1.928, allocations: 164.9 kB / 0.6829 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005962/1.934, allocations: 3.469 MB / 0.6863 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.934, allocations: 3.938 kB / 0.6863 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/1.934, allocations: 4 kB / 0.6863 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.934, allocations: 0 / 0.6863 GB, free: 1.508 MB / 0.5606 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.002066/1.937, allocations: 0.761 MB / 0.687 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.937, allocations: 12.03 kB / 0.687 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/1.937, allocations: 78.7 kB / 0.6871 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/1.937, allocations: 44.5 kB / 0.6871 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/1.937, allocations: 246.9 kB / 0.6874 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/1.937, allocations: 25 kB / 0.6874 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/1.937, allocations: 35.94 kB / 0.6874 GB, free: 220 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/1.938, allocations: 433.1 kB / 0.6878 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.938, allocations: 0 / 0.6878 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/1.938, allocations: 12 kB / 0.6879 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/1.938, allocations: 16 kB / 0.6879 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/1.938, allocations: 238.4 kB / 0.6881 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/1.94, allocations: 2.13 MB / 0.6902 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/1.941, allocations: 188 kB / 0.6904 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/1.941, allocations: 93.64 kB / 0.6904 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/1.959, allocations: 8.593 MB / 0.6988 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/1.959, allocations: 30.56 kB / 0.6989 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.414e-06/1.959, allocations: 0 / 0.6989 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001135/1.96, allocations: 0.4924 MB / 0.6994 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.96, allocations: 51.41 kB / 0.6994 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/1.961, allocations: 290.5 kB / 0.6997 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/1.961, allocations: 29.7 kB / 0.6997 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.961, allocations: 180.3 kB / 0.6999 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/1.961, allocations: 74.84 kB / 0.6999 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/1.961, allocations: 37.7 kB / 0.7 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.961, allocations: 334.8 kB / 0.7003 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/1.961, allocations: 64.25 kB / 0.7004 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/1.962, allocations: 133 kB / 0.7005 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/1.962, allocations: 221.5 kB / 0.7007 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.962, allocations: 4 kB / 0.7007 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005418/1.962, allocations: 291.1 kB / 0.701 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.962, allocations: 8 kB / 0.701 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.962, allocations: 0 / 0.701 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/1.963, allocations: 73.55 kB / 0.7011 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/1.963, allocations: 59.98 kB / 0.7011 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1664/2.13, allocations: 1.092 MB / 0.7022 GB, free: 235 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/2.13, allocations: 46.52 kB / 0.7022 GB, free: 235 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/2.13, allocations: 6.562 kB / 0.7022 GB, free: 235 MB / 0.5762 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.0002407/2.13, allocations: 149.4 kB / 0.7024 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/2.13, allocations: 27.59 kB / 0.7024 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006757/2.131, allocations: 259.1 kB / 0.7027 GB, free: 234.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/2.131, allocations: 3.375 kB / 0.7027 GB, free: 234.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/2.131, allocations: 7.578 kB / 0.7027 GB, free: 234.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/2.131, allocations: 1.438 kB / 0.7027 GB, free: 234.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/2.132, allocations: 0.6606 MB / 0.7033 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/2.132, allocations: 2.625 kB / 0.7033 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/2.133, allocations: 28.22 kB / 0.7033 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/2.133, allocations: 70.56 kB / 0.7034 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/2.133, allocations: 5.75 kB / 0.7034 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004868/2.133, allocations: 1.09 MB / 0.7045 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/2.133, allocations: 1.25 kB / 0.7045 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/2.134, allocations: 353.4 kB / 0.7048 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/2.134, allocations: 110.3 kB / 0.7049 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/2.134, allocations: 6.062 kB / 0.7049 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/2.134, allocations: 7.031 kB / 0.7049 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/2.134, allocations: 12.83 kB / 0.7049 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/2.134, allocations: 5.406 kB / 0.705 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002095/2.134, allocations: 207.7 kB / 0.7051 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/2.134, allocations: 0 / 0.7051 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001284/2.136, allocations: 416.4 kB / 0.7055 GB, free: 233.1 MB / 0.5762 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.002843/2.139, allocations: 1.276 MB / 0.7068 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005067/2.139, allocations: 194.5 kB / 0.707 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/2.139, allocations: 2.125 kB / 0.707 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/2.139, allocations: 100.4 kB / 0.7071 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/2.14, allocations: 83.14 kB / 0.7072 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/2.144, allocations: 3.153 MB / 0.7102 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/2.144, allocations: 0.762 MB / 0.711 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001571/2.145, allocations: 29.89 kB / 0.711 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/2.145, allocations: 90.52 kB / 0.7111 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/2.145, allocations: 0 / 0.7111 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/2.176, allocations: 17.8 MB / 0.7285 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/2.176, allocations: 240.2 kB / 0.7287 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/4.363, allocations: 0 / 0.7287 GB, free: 226.4 MB / 0.5762 GB (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 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)