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.795/0.795, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 23.97 kB / 204.1 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 31.33 MB / 235.4 MB, free: 5.457 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.Examples.SimpleExamples.TestAirHumidity): time 1.533/1.667, allocations: 293.6 MB / 0.5167 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1555/1.823, allocations: 158.4 MB / 0.6714 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/1.823, allocations: 0 / 0.6714 GB, free: 15.02 MB / 0.5606 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.000359/1.823, allocations: 83.5 kB / 0.6714 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001533/1.823, allocations: 71.38 kB / 0.6715 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006972/1.83, allocations: 2.535 MB / 0.674 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/1.831, allocations: 355 kB / 0.6743 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/1.831, allocations: 169 kB / 0.6745 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/1.831, allocations: 139.4 kB / 0.6746 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/1.831, allocations: 151.3 kB / 0.6748 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/1.831, allocations: 28 kB / 0.6748 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/1.843, allocations: 7.471 MB / 0.6821 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.169e-05/1.843, allocations: 71.7 kB / 0.6822 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/1.843, allocations: 155.2 kB / 0.6823 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/1.848, allocations: 3.501 MB / 0.6857 GB, free: 312 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.848, allocations: 0 / 0.6857 GB, free: 312 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/1.848, allocations: 0 / 0.6857 GB, free: 312 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.661e-06/1.848, allocations: 0 / 0.6857 GB, free: 312 kB / 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.001744/1.85, allocations: 0.8196 MB / 0.6865 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.85, allocations: 8.031 kB / 0.6865 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.072e-05/1.85, allocations: 86.59 kB / 0.6866 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/1.85, allocations: 44.45 kB / 0.6867 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/1.85, allocations: 246.8 kB / 0.6869 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/1.85, allocations: 33 kB / 0.6869 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/1.85, allocations: 36 kB / 0.687 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/1.851, allocations: 421.2 kB / 0.6874 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/1.851, allocations: 3.938 kB / 0.6874 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/1.851, allocations: 23.98 kB / 0.6874 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/1.851, allocations: 11.98 kB / 0.6874 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/1.852, allocations: 238.4 kB / 0.6876 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/1.854, allocations: 2.13 MB / 0.6897 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/1.854, allocations: 182.8 kB / 0.6899 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/1.855, allocations: 92.83 kB / 0.69 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01683/1.871, allocations: 8.531 MB / 0.6983 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/1.871, allocations: 38.56 kB / 0.6983 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.365e-06/1.871, allocations: 0 / 0.6983 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001064/1.873, allocations: 489.9 kB / 0.6988 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/1.873, allocations: 51.41 kB / 0.6988 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/1.873, allocations: 294.4 kB / 0.6991 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/1.873, allocations: 25.7 kB / 0.6992 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/1.873, allocations: 172.4 kB / 0.6993 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/1.873, allocations: 90.73 kB / 0.6994 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/1.873, allocations: 49.7 kB / 0.6995 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.873, allocations: 334.8 kB / 0.6998 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/1.873, allocations: 64.25 kB / 0.6998 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/1.874, allocations: 140 kB / 0.7 GB, free: 348 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/1.874, allocations: 220.3 kB / 0.7002 GB, free: 96 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.874, allocations: 0 / 0.7002 GB, free: 96 kB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.1544/2.028, allocations: 294.9 kB / 0.7005 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/2.028, allocations: 6.125 kB / 0.7005 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/2.028, allocations: 4.125 kB / 0.7005 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/2.029, allocations: 69.48 kB / 0.7005 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/2.029, allocations: 58.48 kB / 0.7006 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005143/2.03, allocations: 1.093 MB / 0.7017 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/2.03, allocations: 38.97 kB / 0.7017 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/2.03, allocations: 13.08 kB / 0.7017 GB, free: 233.4 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.0001358/2.03, allocations: 151.5 kB / 0.7019 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/2.03, allocations: 28.97 kB / 0.7019 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/2.031, allocations: 257.3 kB / 0.7021 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/2.031, allocations: 6.375 kB / 0.7021 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/2.031, allocations: 0 / 0.7021 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/2.031, allocations: 3.938 kB / 0.7021 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009217/2.032, allocations: 0.6592 MB / 0.7028 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/2.032, allocations: 0 / 0.7028 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/2.032, allocations: 35.45 kB / 0.7028 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/2.032, allocations: 66.11 kB / 0.7029 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/2.032, allocations: 2.281 kB / 0.7029 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003958/2.033, allocations: 1.091 MB / 0.7039 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.033, allocations: 1.156 kB / 0.7039 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/2.033, allocations: 350.5 kB / 0.7043 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/2.033, allocations: 107.7 kB / 0.7044 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/2.033, allocations: 7.453 kB / 0.7044 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/2.033, allocations: 5.266 kB / 0.7044 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/2.033, allocations: 19.45 kB / 0.7044 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/2.033, allocations: 3.75 kB / 0.7044 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000172/2.034, allocations: 203.6 kB / 0.7046 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.034, allocations: 4.531 kB / 0.7046 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00122/2.035, allocations: 414.1 kB / 0.705 GB, free: 231.5 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.002166/2.037, allocations: 1.283 MB / 0.7063 GB, free: 230.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004738/2.037, allocations: 191.5 kB / 0.7064 GB, free: 230.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.037, allocations: 0 / 0.7064 GB, free: 230.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/2.038, allocations: 100.6 kB / 0.7065 GB, free: 230.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/2.038, allocations: 80.48 kB / 0.7066 GB, free: 230.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/2.042, allocations: 3.131 MB / 0.7097 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/2.042, allocations: 0.7645 MB / 0.7104 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00014/2.042, allocations: 25.8 kB / 0.7104 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/2.042, allocations: 95.56 kB / 0.7105 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/2.042, allocations: 0 / 0.7105 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/2.076, allocations: 17.91 MB / 0.728 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/2.076, allocations: 231.6 kB / 0.7282 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/4.21, allocations: 2.594 kB / 0.7282 GB, free: 224.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)