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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8206/0.8206, allocations: 150.9 MB / 166.4 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 19.98 kB / 204.5 MB, free: 9.766 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 31.32 MB / 235.9 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.Examples.SimpleExamples.TestAirHumidity): time 1.571/1.711, allocations: 294.7 MB / 0.5181 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1534/1.865, allocations: 159.2 MB / 0.6735 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/1.865, allocations: 4 kB / 0.6736 GB, free: 13.86 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.0003757/1.865, allocations: 100.3 kB / 0.6736 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/1.866, allocations: 99.17 kB / 0.6737 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007449/1.873, allocations: 3.357 MB / 0.677 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/1.873, allocations: 367 kB / 0.6774 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/1.874, allocations: 189.5 kB / 0.6776 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/1.874, allocations: 159.4 kB / 0.6777 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/1.874, allocations: 163.2 kB / 0.6779 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/1.874, allocations: 32 kB / 0.6779 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/1.885, allocations: 7.432 MB / 0.6851 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/1.885, allocations: 75.7 kB / 0.6852 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/1.885, allocations: 171.2 kB / 0.6854 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005162/1.89, allocations: 3.485 MB / 0.6888 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.89, allocations: 3.938 kB / 0.6888 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/1.89, allocations: 0 / 0.6888 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.323e-06/1.89, allocations: 0 / 0.6888 GB, free: 14.24 MB / 0.5762 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.00166/1.892, allocations: 0.8358 MB / 0.6896 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/1.892, allocations: 8.031 kB / 0.6896 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/1.892, allocations: 40.47 kB / 0.6897 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/1.892, allocations: 251 kB / 0.6899 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/1.892, allocations: 25 kB / 0.6899 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/1.893, allocations: 43.92 kB / 0.69 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/1.893, allocations: 425.2 kB / 0.6904 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.893, allocations: 0 / 0.6904 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/1.893, allocations: 20 kB / 0.6904 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/1.893, allocations: 12 kB / 0.6904 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/1.894, allocations: 242.4 kB / 0.6906 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/1.896, allocations: 2.127 MB / 0.6927 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/1.896, allocations: 178.7 kB / 0.6929 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/1.896, allocations: 92.83 kB / 0.693 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/1.914, allocations: 8.527 MB / 0.7013 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/1.914, allocations: 34.56 kB / 0.7013 GB, free: 164 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/1.914, allocations: 0 / 0.7013 GB, free: 164 kB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.1583/2.073, allocations: 483.2 kB / 0.7018 GB, free: 234.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/2.073, allocations: 55.53 kB / 0.7018 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/2.073, allocations: 286.3 kB / 0.7021 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/2.073, allocations: 25.7 kB / 0.7021 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/2.073, allocations: 180.7 kB / 0.7023 GB, free: 234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/2.073, allocations: 76.03 kB / 0.7024 GB, free: 234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/2.073, allocations: 57.81 kB / 0.7024 GB, free: 234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/2.073, allocations: 339 kB / 0.7028 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/2.073, allocations: 62.83 kB / 0.7028 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/2.074, allocations: 135.6 kB / 0.7029 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/2.074, allocations: 230.1 kB / 0.7032 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.074, allocations: 1.062 kB / 0.7032 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004812/2.074, allocations: 292.6 kB / 0.7034 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/2.074, allocations: 7.062 kB / 0.7034 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/2.074, allocations: 2.312 kB / 0.7035 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/2.075, allocations: 72.33 kB / 0.7035 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/2.075, allocations: 63.77 kB / 0.7036 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004537/2.076, allocations: 1.093 MB / 0.7046 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/2.076, allocations: 38.31 kB / 0.7047 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/2.076, allocations: 11.73 kB / 0.7047 GB, free: 232.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.0001134/2.076, allocations: 149.6 kB / 0.7048 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/2.076, allocations: 36.53 kB / 0.7049 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/2.077, allocations: 248.2 kB / 0.7051 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/2.077, allocations: 10.06 kB / 0.7051 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/2.077, allocations: 2.219 kB / 0.7051 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/2.077, allocations: 0 / 0.7051 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/2.077, allocations: 0.6629 MB / 0.7058 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/2.077, allocations: 1.312 kB / 0.7058 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/2.078, allocations: 31.83 kB / 0.7058 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/2.078, allocations: 62.86 kB / 0.7059 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/2.078, allocations: 10.89 kB / 0.7059 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003918/2.078, allocations: 1.091 MB / 0.7069 GB, free: 230.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.078, allocations: 6 kB / 0.7069 GB, free: 230.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/2.079, allocations: 341.1 kB / 0.7073 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/2.079, allocations: 108.1 kB / 0.7074 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/2.079, allocations: 1.906 kB / 0.7074 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/2.079, allocations: 9.812 kB / 0.7074 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/2.079, allocations: 8.609 kB / 0.7074 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/2.079, allocations: 12.12 kB / 0.7074 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001657/2.079, allocations: 204.6 kB / 0.7076 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.079, allocations: 6.156 kB / 0.7076 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001173/2.08, allocations: 411.3 kB / 0.708 GB, free: 230.4 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.001439/2.082, allocations: 0.503 MB / 0.7085 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004931/2.082, allocations: 214.9 kB / 0.7087 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.082, allocations: 0 / 0.7087 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/2.083, allocations: 97.86 kB / 0.7088 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/2.083, allocations: 86.75 kB / 0.7089 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007937/2.084, allocations: 0.5239 MB / 0.7094 GB, free: 230 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/2.084, allocations: 0.7628 MB / 0.7101 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001126/2.084, allocations: 27.16 kB / 0.7102 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/2.084, allocations: 21.34 kB / 0.7102 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/2.084, allocations: 2.938 kB / 0.7102 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.01832/2.103, allocations: 14.74 MB / 0.7246 GB, free: 227 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.makefile (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)