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.8367/0.8367, allocations: 150.9 MB / 166.5 MB, free: 14.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 16.41 kB / 237.1 MB, free: 1.777 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05405/0.05436, allocations: 31.35 MB / 268.4 MB, free: 7.047 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.61/1.664, allocations: 294.7 MB / 0.5499 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1644/1.829, allocations: 159.1 MB / 0.7054 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/1.829, allocations: 0 / 0.7054 GB, free: 13.32 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.0004396/1.829, allocations: 111.2 kB / 0.7055 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002374/1.829, allocations: 99.09 kB / 0.7056 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008477/1.838, allocations: 3.357 MB / 0.7088 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000543/1.839, allocations: 375 kB / 0.7092 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/1.839, allocations: 184.1 kB / 0.7094 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/1.839, allocations: 151.4 kB / 0.7095 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/1.839, allocations: 163.3 kB / 0.7097 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/1.839, allocations: 36 kB / 0.7097 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/1.851, allocations: 7.576 MB / 0.7171 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/1.852, allocations: 79.7 kB / 0.7172 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/1.852, allocations: 175.2 kB / 0.7173 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.2971/2.149, allocations: 3.482 MB / 0.7207 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/2.149, allocations: 1 kB / 0.7207 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/2.149, allocations: 0 / 0.7207 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.69e-05/2.149, allocations: 1.656 kB / 0.7207 GB, free: 9.723 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.003594/2.153, allocations: 0.8316 MB / 0.7216 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/2.153, allocations: 9.594 kB / 0.7216 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/2.153, allocations: 36.89 kB / 0.7216 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/2.153, allocations: 247.2 kB / 0.7218 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/2.153, allocations: 35.59 kB / 0.7219 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/2.153, allocations: 34.56 kB / 0.7219 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/2.154, allocations: 421.5 kB / 0.7223 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/2.154, allocations: 1.828 kB / 0.7223 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/2.154, allocations: 19.34 kB / 0.7223 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/2.154, allocations: 14.05 kB / 0.7223 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/2.154, allocations: 237.6 kB / 0.7226 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/2.156, allocations: 2.116 MB / 0.7246 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/2.157, allocations: 183.5 kB / 0.7248 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/2.157, allocations: 103.2 kB / 0.7249 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/2.176, allocations: 8.57 MB / 0.7333 GB, free: 18.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/2.176, allocations: 32.91 kB / 0.7333 GB, free: 18.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.124e-06/2.176, allocations: 0 / 0.7333 GB, free: 18.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001112/2.177, allocations: 0.4907 MB / 0.7338 GB, free: 18.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/2.177, allocations: 53.81 kB / 0.7338 GB, free: 18.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/2.178, allocations: 283.3 kB / 0.7341 GB, free: 18.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/2.178, allocations: 28.14 kB / 0.7341 GB, free: 18.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/2.178, allocations: 186.5 kB / 0.7343 GB, free: 17.92 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/2.178, allocations: 82.78 kB / 0.7344 GB, free: 17.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/2.178, allocations: 48.56 kB / 0.7344 GB, free: 17.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001056/2.178, allocations: 343 kB / 0.7348 GB, free: 17.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/2.178, allocations: 63.86 kB / 0.7348 GB, free: 17.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/2.178, allocations: 133.3 kB / 0.735 GB, free: 17.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/2.179, allocations: 220.4 kB / 0.7352 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.179, allocations: 2.344 kB / 0.7352 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005556/2.179, allocations: 298.9 kB / 0.7355 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/2.179, allocations: 7.312 kB / 0.7355 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/2.179, allocations: 4.031 kB / 0.7355 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/2.18, allocations: 64.45 kB / 0.7355 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/2.18, allocations: 65 kB / 0.7356 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006041/2.181, allocations: 1.095 MB / 0.7367 GB, free: 16.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/2.181, allocations: 46.45 kB / 0.7367 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/2.181, allocations: 11.56 kB / 0.7367 GB, free: 16.23 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.0001333/2.181, allocations: 151.4 kB / 0.7369 GB, free: 16.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/2.181, allocations: 22.31 kB / 0.7369 GB, free: 16.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/2.181, allocations: 262.2 kB / 0.7371 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/2.182, allocations: 8.062 kB / 0.7371 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/2.182, allocations: 0.875 kB / 0.7371 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/2.182, allocations: 3.938 kB / 0.7371 GB, free: 16.03 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000908/2.182, allocations: 0.6583 MB / 0.7378 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/2.182, allocations: 0 / 0.7378 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/2.183, allocations: 30.73 kB / 0.7378 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/2.183, allocations: 59.28 kB / 0.7379 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/2.183, allocations: 6.875 kB / 0.7379 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005624/2.184, allocations: 1.094 MB / 0.7389 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.184, allocations: 5.688 kB / 0.7389 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/2.184, allocations: 349.1 kB / 0.7393 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/2.184, allocations: 112.2 kB / 0.7394 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/2.184, allocations: 9.312 kB / 0.7394 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/2.184, allocations: 9.859 kB / 0.7394 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/2.184, allocations: 10.53 kB / 0.7394 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/2.184, allocations: 4.75 kB / 0.7394 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001613/2.184, allocations: 205.8 kB / 0.7396 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/2.184, allocations: 3.219 kB / 0.7396 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001645/2.186, allocations: 403.6 kB / 0.74 GB, free: 14.22 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.002367/2.188, allocations: 0.4996 MB / 0.7405 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004829/2.189, allocations: 207.8 kB / 0.7407 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/2.189, allocations: 0 / 0.7407 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/2.189, allocations: 95.78 kB / 0.7408 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/2.19, allocations: 85.12 kB / 0.7409 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/2.191, allocations: 0.5169 MB / 0.7414 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/2.191, allocations: 0.7644 MB / 0.7421 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000111/2.191, allocations: 26.5 kB / 0.7421 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/2.191, allocations: 20.44 kB / 0.7422 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/2.191, allocations: 0 / 0.7422 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.02457/2.216, allocations: 14.75 MB / 0.7566 GB, free: 12.3 MB / 0.6075 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)