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.7866/0.7866, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003089, allocations: 15.69 kB / 236.6 MB, free: 1.996 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05656/0.05688, allocations: 31.34 MB / 267.9 MB, free: 7.543 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.552/1.609, allocations: 294.7 MB / 0.5495 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1583/1.768, allocations: 159.1 MB / 0.7049 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/1.768, allocations: 4 kB / 0.7049 GB, free: 13.22 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.0003656/1.768, allocations: 105 kB / 0.705 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/1.768, allocations: 91.19 kB / 0.7051 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007368/1.776, allocations: 3.362 MB / 0.7084 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/1.776, allocations: 371 kB / 0.7087 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/1.776, allocations: 200 kB / 0.7089 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/1.777, allocations: 151.4 kB / 0.709 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/1.777, allocations: 159.3 kB / 0.7092 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/1.777, allocations: 32 kB / 0.7092 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/1.788, allocations: 7.584 MB / 0.7166 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/1.788, allocations: 71.75 kB / 0.7167 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/1.788, allocations: 175.2 kB / 0.7169 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.3151/2.103, allocations: 3.478 MB / 0.7203 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/2.103, allocations: 0 / 0.7203 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/2.103, allocations: 0 / 0.7203 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.157e-06/2.103, allocations: 0 / 0.7203 GB, free: 9.641 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.002182/2.106, allocations: 0.8363 MB / 0.7211 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/2.106, allocations: 9.219 kB / 0.7211 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/2.106, allocations: 78.91 kB / 0.7212 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/2.106, allocations: 38.12 kB / 0.7212 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/2.106, allocations: 252 kB / 0.7214 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/2.106, allocations: 27.38 kB / 0.7215 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/2.106, allocations: 35.98 kB / 0.7215 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/2.107, allocations: 425.4 kB / 0.7219 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/2.107, allocations: 0.7031 kB / 0.7219 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/2.107, allocations: 14.34 kB / 0.7219 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/2.107, allocations: 11.8 kB / 0.7219 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/2.107, allocations: 244.1 kB / 0.7222 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/2.109, allocations: 2.12 MB / 0.7242 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/2.109, allocations: 180.7 kB / 0.7244 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/2.11, allocations: 100.4 kB / 0.7245 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01735/2.127, allocations: 8.569 MB / 0.7329 GB, free: 18.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/2.127, allocations: 32.84 kB / 0.7329 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/2.127, allocations: 0 / 0.7329 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.00102/2.128, allocations: 496.6 kB / 0.7334 GB, free: 18.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/2.128, allocations: 55.81 kB / 0.7334 GB, free: 18.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/2.128, allocations: 285.5 kB / 0.7337 GB, free: 17.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/2.128, allocations: 30.95 kB / 0.7337 GB, free: 17.92 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/2.129, allocations: 181.4 kB / 0.7339 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/2.129, allocations: 78.97 kB / 0.734 GB, free: 17.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/2.129, allocations: 48.91 kB / 0.734 GB, free: 17.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001143/2.129, allocations: 341.5 kB / 0.7344 GB, free: 17.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/2.129, allocations: 64.36 kB / 0.7344 GB, free: 17.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/2.129, allocations: 137.2 kB / 0.7346 GB, free: 17.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/2.129, allocations: 228.3 kB / 0.7348 GB, free: 17.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/2.129, allocations: 1.719 kB / 0.7348 GB, free: 17.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004615/2.13, allocations: 293.1 kB / 0.735 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/2.13, allocations: 7.75 kB / 0.7351 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/2.13, allocations: 3.156 kB / 0.7351 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/2.13, allocations: 69.11 kB / 0.7351 GB, free: 17.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/2.131, allocations: 60.89 kB / 0.7352 GB, free: 17.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006423/2.131, allocations: 1.102 MB / 0.7363 GB, free: 16.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/2.131, allocations: 42.28 kB / 0.7363 GB, free: 16.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/2.131, allocations: 6.219 kB / 0.7363 GB, free: 16.11 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.0001289/2.132, allocations: 149.4 kB / 0.7364 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/2.132, allocations: 27.94 kB / 0.7365 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/2.132, allocations: 258.3 kB / 0.7367 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/2.132, allocations: 12.17 kB / 0.7367 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/2.132, allocations: 0 / 0.7367 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/2.132, allocations: 3.938 kB / 0.7367 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/2.133, allocations: 0.6506 MB / 0.7374 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/2.133, allocations: 3.25 kB / 0.7374 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/2.133, allocations: 30.17 kB / 0.7374 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/2.133, allocations: 65.97 kB / 0.7375 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/2.133, allocations: 10.19 kB / 0.7375 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005623/2.134, allocations: 1.088 MB / 0.7385 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.134, allocations: 3.094 kB / 0.7385 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/2.134, allocations: 351.2 kB / 0.7389 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/2.135, allocations: 108.6 kB / 0.739 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/2.135, allocations: 3.5 kB / 0.739 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/2.135, allocations: 7.047 kB / 0.739 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/2.135, allocations: 9.656 kB / 0.739 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/2.135, allocations: 8.406 kB / 0.739 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001616/2.135, allocations: 202.4 kB / 0.7392 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/2.135, allocations: 1.812 kB / 0.7392 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001533/2.136, allocations: 415.4 kB / 0.7396 GB, free: 14.09 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.001928/2.138, allocations: 1.283 MB / 0.7409 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004275/2.139, allocations: 196.8 kB / 0.741 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.139, allocations: 3.25 kB / 0.741 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/2.139, allocations: 103 kB / 0.7411 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/2.14, allocations: 87.56 kB / 0.7412 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/2.143, allocations: 3.012 MB / 0.7442 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/2.143, allocations: 0.7632 MB / 0.7449 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001054/2.143, allocations: 22.58 kB / 0.7449 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/2.143, allocations: 97.42 kB / 0.745 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/2.143, allocations: 0 / 0.745 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/2.183, allocations: 18.49 MB / 0.7631 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/13.48, allocations: 9.734 kB / 0.7631 GB, free: 9.66 MB / 0.6075 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)