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.7986/0.7986, allocations: 150.9 MB / 166.5 MB, free: 14.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 20.92 kB / 236.6 MB, free: 2.016 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05388/0.0542, allocations: 31.34 MB / 267.9 MB, free: 7.543 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.555/1.609, allocations: 294.6 MB / 0.5494 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1528/1.762, allocations: 159.1 MB / 0.7048 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/1.762, allocations: 4 kB / 0.7048 GB, free: 13.25 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.0003821/1.763, allocations: 107.3 kB / 0.7049 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/1.763, allocations: 91.19 kB / 0.705 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007282/1.77, allocations: 3.367 MB / 0.7083 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004112/1.771, allocations: 371.1 kB / 0.7086 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/1.771, allocations: 184.1 kB / 0.7088 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/1.771, allocations: 155.4 kB / 0.7089 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/1.771, allocations: 159.3 kB / 0.7091 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/1.771, allocations: 32 kB / 0.7091 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/1.782, allocations: 7.584 MB / 0.7165 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/1.782, allocations: 79.75 kB / 0.7166 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/1.783, allocations: 175.2 kB / 0.7168 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.2863/2.069, allocations: 3.477 MB / 0.7202 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/2.069, allocations: 0 / 0.7202 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.362e-06/2.069, allocations: 1.094 kB / 0.7202 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.536e-06/2.069, allocations: 0 / 0.7202 GB, free: 9.648 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.001979/2.071, allocations: 0.8311 MB / 0.721 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/2.071, allocations: 9.984 kB / 0.721 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/2.071, allocations: 75.77 kB / 0.7211 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/2.071, allocations: 37.75 kB / 0.7211 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/2.071, allocations: 250.2 kB / 0.7213 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/2.071, allocations: 29.62 kB / 0.7214 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/2.071, allocations: 36.94 kB / 0.7214 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/2.072, allocations: 420.3 kB / 0.7218 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/2.072, allocations: 4.266 kB / 0.7218 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/2.072, allocations: 18 kB / 0.7218 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/2.072, allocations: 11.64 kB / 0.7218 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/2.072, allocations: 244.2 kB / 0.7221 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/2.074, allocations: 2.12 MB / 0.7241 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/2.075, allocations: 180.7 kB / 0.7243 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/2.075, allocations: 103.2 kB / 0.7244 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/2.093, allocations: 8.567 MB / 0.7328 GB, free: 18.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/2.093, allocations: 39.27 kB / 0.7328 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.635e-06/2.093, allocations: 0 / 0.7328 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001083/2.094, allocations: 494.9 kB / 0.7333 GB, free: 18.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/2.094, allocations: 60.75 kB / 0.7333 GB, free: 18.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/2.094, allocations: 282.2 kB / 0.7336 GB, free: 17.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/2.094, allocations: 34.19 kB / 0.7336 GB, free: 17.92 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/2.094, allocations: 176.1 kB / 0.7338 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/2.095, allocations: 78.97 kB / 0.7339 GB, free: 17.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/2.095, allocations: 51.34 kB / 0.7339 GB, free: 17.74 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001148/2.095, allocations: 338.8 kB / 0.7342 GB, free: 17.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/2.095, allocations: 67.34 kB / 0.7343 GB, free: 17.42 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/2.095, allocations: 137 kB / 0.7344 GB, free: 17.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/2.095, allocations: 220.3 kB / 0.7347 GB, free: 17.26 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/2.095, allocations: 1.25 kB / 0.7347 GB, free: 17.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004579/2.096, allocations: 303.7 kB / 0.7349 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/2.096, allocations: 8.281 kB / 0.7349 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/2.096, allocations: 3.406 kB / 0.735 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003122/2.096, allocations: 65.73 kB / 0.735 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/2.097, allocations: 64.8 kB / 0.7351 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000591/2.097, allocations: 1.096 MB / 0.7361 GB, free: 16.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/2.097, allocations: 37.19 kB / 0.7362 GB, free: 16.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/2.097, allocations: 8.844 kB / 0.7362 GB, free: 16.12 MB / 0.6075 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.0001319/2.097, allocations: 151.8 kB / 0.7363 GB, free: 16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/2.098, allocations: 30.36 kB / 0.7364 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/2.098, allocations: 254.1 kB / 0.7366 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/2.098, allocations: 6.938 kB / 0.7366 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/2.098, allocations: 2.922 kB / 0.7366 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/2.098, allocations: 4.547 kB / 0.7366 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/2.099, allocations: 0.6563 MB / 0.7373 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/2.099, allocations: 0 / 0.7373 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/2.099, allocations: 33.86 kB / 0.7373 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/2.099, allocations: 63.92 kB / 0.7374 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/2.099, allocations: 8.5 kB / 0.7374 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005719/2.1, allocations: 1.092 MB / 0.7384 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.1, allocations: 0.7812 kB / 0.7384 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/2.1, allocations: 343.9 kB / 0.7388 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/2.1, allocations: 116.9 kB / 0.7389 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/2.1, allocations: 7.812 kB / 0.7389 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/2.101, allocations: 2.812 kB / 0.7389 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/2.101, allocations: 10.06 kB / 0.7389 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/2.101, allocations: 7.719 kB / 0.7389 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001488/2.101, allocations: 200.8 kB / 0.7391 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/2.101, allocations: 6.219 kB / 0.7391 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001831/2.103, allocations: 415.5 kB / 0.7395 GB, free: 14.1 MB / 0.6075 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.002312/2.105, allocations: 1.284 MB / 0.7407 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004283/2.105, allocations: 198.1 kB / 0.7409 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/2.105, allocations: 0 / 0.7409 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/2.106, allocations: 103 kB / 0.741 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/2.106, allocations: 87.78 kB / 0.7411 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/2.109, allocations: 3.001 MB / 0.744 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/2.11, allocations: 0.7622 MB / 0.7448 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.9e-05/2.11, allocations: 30.53 kB / 0.7448 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/2.11, allocations: 94.44 kB / 0.7449 GB, free: 11 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/2.11, allocations: 0 / 0.7449 GB, free: 11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/2.144, allocations: 18.28 MB / 0.7628 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/13.45, allocations: 5.672 kB / 0.7628 GB, free: 9.742 MB / 0.6075 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)