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.8375/0.8375, allocations: 150.9 MB / 167.1 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 11.98 kB / 205.9 MB, free: 9.051 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 31.33 MB / 237.3 MB, free: 5.719 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.615/1.763, allocations: 294.5 MB / 0.5193 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1587/1.921, allocations: 159.1 MB / 0.6747 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/1.921, allocations: 4 kB / 0.6747 GB, free: 13.8 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.0003806/1.922, allocations: 104 kB / 0.6748 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/1.922, allocations: 91.17 kB / 0.6749 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00778/1.93, allocations: 3.365 MB / 0.6782 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004843/1.93, allocations: 371 kB / 0.6786 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/1.931, allocations: 189.2 kB / 0.6787 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/1.931, allocations: 151.4 kB / 0.6789 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/1.931, allocations: 155.3 kB / 0.679 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/1.931, allocations: 36 kB / 0.6791 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/1.943, allocations: 7.584 MB / 0.6865 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/1.943, allocations: 75.7 kB / 0.6865 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/1.943, allocations: 175.2 kB / 0.6867 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006058/1.949, allocations: 3.493 MB / 0.6901 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.949, allocations: 0 / 0.6901 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/1.949, allocations: 0 / 0.6901 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.427e-05/1.949, allocations: 4 kB / 0.6901 GB, free: 14.02 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.001908/1.951, allocations: 0.8273 MB / 0.6909 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.951, allocations: 12.03 kB / 0.6909 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/1.951, allocations: 40.47 kB / 0.691 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/1.952, allocations: 248.3 kB / 0.6912 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/1.952, allocations: 33 kB / 0.6913 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/1.952, allocations: 36 kB / 0.6913 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/1.952, allocations: 425.2 kB / 0.6917 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.952, allocations: 0 / 0.6917 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/1.952, allocations: 16 kB / 0.6917 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/1.952, allocations: 8 kB / 0.6917 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/1.953, allocations: 242.3 kB / 0.6919 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/1.955, allocations: 2.115 MB / 0.694 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/1.955, allocations: 178.7 kB / 0.6942 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.956, allocations: 96.83 kB / 0.6943 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1737/2.129, allocations: 8.577 MB / 0.7026 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/2.129, allocations: 35.06 kB / 0.7027 GB, free: 234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 3.356e-06/2.129, allocations: 0 / 0.7027 GB, free: 234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001104/2.13, allocations: 486.3 kB / 0.7031 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/2.13, allocations: 54.38 kB / 0.7032 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/2.131, allocations: 288.2 kB / 0.7035 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/2.131, allocations: 26.45 kB / 0.7035 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/2.131, allocations: 174.7 kB / 0.7037 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/2.131, allocations: 82.95 kB / 0.7037 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/2.131, allocations: 52.02 kB / 0.7038 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.724e-05/2.131, allocations: 337.8 kB / 0.7041 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/2.131, allocations: 63.19 kB / 0.7042 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/2.131, allocations: 137.1 kB / 0.7043 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/2.132, allocations: 234.8 kB / 0.7045 GB, free: 233 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/2.132, allocations: 2.75 kB / 0.7045 GB, free: 233 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004773/2.132, allocations: 290.4 kB / 0.7048 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/2.132, allocations: 8.25 kB / 0.7048 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/2.132, allocations: 2.906 kB / 0.7048 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/2.132, allocations: 66.03 kB / 0.7049 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/2.133, allocations: 65.59 kB / 0.7049 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000447/2.133, allocations: 1.096 MB / 0.706 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/2.133, allocations: 39.69 kB / 0.7061 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/2.133, allocations: 9.156 kB / 0.7061 GB, free: 231.8 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.0001272/2.134, allocations: 150.2 kB / 0.7062 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/2.134, allocations: 30.77 kB / 0.7062 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/2.134, allocations: 250.1 kB / 0.7065 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/2.134, allocations: 6.859 kB / 0.7065 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/2.134, allocations: 1.062 kB / 0.7065 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/2.134, allocations: 3.891 kB / 0.7065 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008899/2.135, allocations: 0.6583 MB / 0.7071 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/2.135, allocations: 8.875 kB / 0.7071 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/2.135, allocations: 30.27 kB / 0.7072 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/2.136, allocations: 68.69 kB / 0.7072 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/2.136, allocations: 1.844 kB / 0.7072 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004103/2.136, allocations: 1.096 MB / 0.7083 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.136, allocations: 1.219 kB / 0.7083 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/2.137, allocations: 347.5 kB / 0.7086 GB, free: 230.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/2.137, allocations: 105.7 kB / 0.7087 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/2.137, allocations: 7 kB / 0.7087 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/2.137, allocations: 6.391 kB / 0.7087 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/2.137, allocations: 9.172 kB / 0.7088 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/2.137, allocations: 11.3 kB / 0.7088 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001952/2.137, allocations: 202.8 kB / 0.709 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/2.137, allocations: 2.531 kB / 0.709 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001179/2.138, allocations: 420.7 kB / 0.7094 GB, free: 229.8 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.001488/2.14, allocations: 0.5044 MB / 0.7099 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005448/2.14, allocations: 198.2 kB / 0.71 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/2.14, allocations: 1.312 kB / 0.71 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/2.141, allocations: 99.27 kB / 0.7101 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/2.141, allocations: 88.59 kB / 0.7102 GB, free: 229.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/2.142, allocations: 0.5191 MB / 0.7107 GB, free: 229.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/2.142, allocations: 0.7627 MB / 0.7115 GB, free: 228.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001164/2.142, allocations: 27.02 kB / 0.7115 GB, free: 228.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/2.142, allocations: 20.88 kB / 0.7115 GB, free: 228.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/2.142, allocations: 0.9375 kB / 0.7115 GB, free: 228.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01928/2.162, allocations: 14.7 MB / 0.7259 GB, free: 226.7 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 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)