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.7851/0.7851, allocations: 150.9 MB / 166 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 15.97 kB / 204 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 31.32 MB / 235.3 MB, free: 5.691 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.505/1.643, allocations: 292.7 MB / 0.5156 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1432/1.786, allocations: 158.4 MB / 0.6703 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/1.787, allocations: 4 kB / 0.6703 GB, free: 15.32 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.0003423/1.787, allocations: 84.34 kB / 0.6704 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/1.787, allocations: 83.36 kB / 0.6705 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006241/1.793, allocations: 2.528 MB / 0.673 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000355/1.794, allocations: 347 kB / 0.6733 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/1.794, allocations: 185 kB / 0.6735 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/1.794, allocations: 139.5 kB / 0.6736 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/1.794, allocations: 147.3 kB / 0.6737 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/1.794, allocations: 24 kB / 0.6738 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/1.805, allocations: 7.478 MB / 0.6811 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/1.805, allocations: 59.77 kB / 0.6811 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/1.806, allocations: 171.2 kB / 0.6813 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005059/1.811, allocations: 3.489 MB / 0.6847 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.811, allocations: 0 / 0.6847 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.62e-07/1.811, allocations: 0 / 0.6847 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.811, allocations: 0 / 0.6847 GB, free: 0.5977 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.001911/1.813, allocations: 0.8235 MB / 0.6855 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/1.813, allocations: 15.97 kB / 0.6855 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/1.813, allocations: 40.47 kB / 0.6856 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/1.813, allocations: 251 kB / 0.6858 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/1.813, allocations: 29 kB / 0.6858 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/1.813, allocations: 32 kB / 0.6858 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/1.814, allocations: 421.2 kB / 0.6863 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.814, allocations: 0 / 0.6863 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/1.814, allocations: 19.94 kB / 0.6863 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.814, allocations: 19.92 kB / 0.6863 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/1.814, allocations: 242.4 kB / 0.6865 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/1.816, allocations: 2.127 MB / 0.6886 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/1.817, allocations: 178.8 kB / 0.6888 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.817, allocations: 100.8 kB / 0.6889 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01672/1.834, allocations: 8.523 MB / 0.6972 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/1.834, allocations: 38.5 kB / 0.6972 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/1.834, allocations: 0 / 0.6972 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009851/1.835, allocations: 481.1 kB / 0.6977 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/1.835, allocations: 59.39 kB / 0.6977 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/1.835, allocations: 290.6 kB / 0.698 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.835, allocations: 29.7 kB / 0.698 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/1.835, allocations: 172.4 kB / 0.6982 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/1.835, allocations: 82.73 kB / 0.6983 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/1.835, allocations: 49.7 kB / 0.6983 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.835, allocations: 338.8 kB / 0.6987 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/1.835, allocations: 68.19 kB / 0.6987 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/1.836, allocations: 137.7 kB / 0.6989 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/1.836, allocations: 223.3 kB / 0.6991 GB, free: 492 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.836, allocations: 4 kB / 0.6991 GB, free: 488 kB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005125/1.836, allocations: 294.8 kB / 0.6994 GB, free: 180 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.837, allocations: 8 kB / 0.6994 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.837, allocations: 0 / 0.6994 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/1.837, allocations: 69.95 kB / 0.6994 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/1.837, allocations: 67.83 kB / 0.6995 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1634/2.001, allocations: 1.089 MB / 0.7006 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/2.001, allocations: 43.02 kB / 0.7006 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/2.001, allocations: 10.88 kB / 0.7006 GB, free: 234.2 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.0001508/2.001, allocations: 150 kB / 0.7007 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/2.001, allocations: 23.28 kB / 0.7008 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/2.002, allocations: 258.3 kB / 0.701 GB, free: 234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/2.002, allocations: 8.672 kB / 0.701 GB, free: 234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/2.002, allocations: 0 / 0.701 GB, free: 234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/2.002, allocations: 2.016 kB / 0.701 GB, free: 234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008895/2.003, allocations: 0.6586 MB / 0.7017 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/2.003, allocations: 3.75 kB / 0.7017 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/2.003, allocations: 32.58 kB / 0.7017 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002557/2.003, allocations: 62.48 kB / 0.7018 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/2.003, allocations: 3.688 kB / 0.7018 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004167/2.004, allocations: 1.091 MB / 0.7028 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/2.004, allocations: 1.906 kB / 0.7028 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/2.004, allocations: 348.2 kB / 0.7032 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/2.004, allocations: 116.2 kB / 0.7033 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/2.004, allocations: 6.094 kB / 0.7033 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/2.004, allocations: 2.375 kB / 0.7033 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/2.004, allocations: 19.53 kB / 0.7033 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/2.004, allocations: 7.406 kB / 0.7033 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001728/2.005, allocations: 203.1 kB / 0.7035 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/2.005, allocations: 0.6562 kB / 0.7035 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001165/2.006, allocations: 408.4 kB / 0.7039 GB, free: 232.3 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.001699/2.007, allocations: 0.5089 MB / 0.7044 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005265/2.008, allocations: 186.9 kB / 0.7046 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/2.008, allocations: 4.031 kB / 0.7046 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/2.008, allocations: 102 kB / 0.7047 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/2.009, allocations: 77.36 kB / 0.7047 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/2.01, allocations: 0.6313 MB / 0.7054 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/2.01, allocations: 0.7645 MB / 0.7061 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001307/2.01, allocations: 27.91 kB / 0.7061 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/2.01, allocations: 20.88 kB / 0.7062 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/2.01, allocations: 0 / 0.7062 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01855/2.029, allocations: 14.49 MB / 0.7203 GB, free: 228.9 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)