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.7811/0.7811, allocations: 150.9 MB / 166.1 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 15.97 kB / 204.2 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 31.33 MB / 235.6 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.655/1.847, allocations: 293.6 MB / 0.5168 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1666/2.013, allocations: 157.2 MB / 0.6704 GB, free: 128 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/2.014, allocations: 4 kB / 0.6704 GB, free: 124 kB / 0.545 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.0003809/2.014, allocations: 88.89 kB / 0.6705 GB, free: 36 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/2.014, allocations: 79.36 kB / 0.6705 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007351/2.021, allocations: 2.954 MB / 0.6734 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/2.022, allocations: 379 kB / 0.6738 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/2.022, allocations: 180.1 kB / 0.6739 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/2.022, allocations: 155.4 kB / 0.6741 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/2.023, allocations: 155.3 kB / 0.6742 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/2.023, allocations: 32 kB / 0.6743 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/2.033, allocations: 7.447 MB / 0.6815 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/2.033, allocations: 79.69 kB / 0.6816 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/2.033, allocations: 175.2 kB / 0.6818 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004851/2.038, allocations: 3.501 MB / 0.6852 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/2.038, allocations: 4 kB / 0.6852 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.434e-06/2.038, allocations: 0 / 0.6852 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.297e-06/2.038, allocations: 0 / 0.6852 GB, free: 0.9062 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.001733/2.04, allocations: 0.8234 MB / 0.686 GB, free: 36 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/2.04, allocations: 11.97 kB / 0.686 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.705e-05/2.04, allocations: 78.66 kB / 0.6861 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/2.04, allocations: 52.45 kB / 0.6862 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/2.041, allocations: 250.8 kB / 0.6864 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/2.041, allocations: 29 kB / 0.6864 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/2.041, allocations: 32 kB / 0.6864 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/2.041, allocations: 421.2 kB / 0.6869 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/2.041, allocations: 7.984 kB / 0.6869 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/2.041, allocations: 19.98 kB / 0.6869 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/2.041, allocations: 8 kB / 0.6869 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/2.042, allocations: 246.3 kB / 0.6871 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/2.044, allocations: 2.119 MB / 0.6892 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/2.044, allocations: 178.7 kB / 0.6894 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/2.045, allocations: 92.83 kB / 0.6894 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01742/2.062, allocations: 8.527 MB / 0.6978 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/2.062, allocations: 34.56 kB / 0.6978 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 3.026e-06/2.062, allocations: 4 kB / 0.6978 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001269/2.063, allocations: 491.7 kB / 0.6983 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/2.063, allocations: 55.41 kB / 0.6983 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/2.064, allocations: 286.5 kB / 0.6986 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/2.064, allocations: 29.7 kB / 0.6986 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/2.064, allocations: 172.4 kB / 0.6988 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/2.064, allocations: 78.75 kB / 0.6989 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/2.064, allocations: 49.7 kB / 0.6989 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001354/2.064, allocations: 338.8 kB / 0.6992 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/2.064, allocations: 64.25 kB / 0.6993 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/2.065, allocations: 137.7 kB / 0.6994 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/2.065, allocations: 222.1 kB / 0.6996 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/2.065, allocations: 0 / 0.6996 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005461/2.066, allocations: 306.4 kB / 0.6999 GB, free: 416 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/2.066, allocations: 4 kB / 0.6999 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/2.066, allocations: 4 kB / 0.6999 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/2.066, allocations: 69.89 kB / 0.7 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/2.066, allocations: 63.89 kB / 0.7001 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.173/2.239, allocations: 1.092 MB / 0.7011 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/2.24, allocations: 36.7 kB / 0.7012 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/2.24, allocations: 10.81 kB / 0.7012 GB, free: 233.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.0001456/2.24, allocations: 151.3 kB / 0.7013 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/2.24, allocations: 28.16 kB / 0.7014 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/2.24, allocations: 259 kB / 0.7016 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/2.24, allocations: 3.125 kB / 0.7016 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.241, allocations: 1.406 kB / 0.7016 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/2.241, allocations: 0.7031 kB / 0.7016 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008615/2.241, allocations: 0.6632 MB / 0.7023 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/2.241, allocations: 0 / 0.7023 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/2.242, allocations: 36.39 kB / 0.7023 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/2.242, allocations: 61.91 kB / 0.7024 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/2.242, allocations: 6.906 kB / 0.7024 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003832/2.242, allocations: 1.092 MB / 0.7034 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/2.242, allocations: 2.156 kB / 0.7034 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/2.243, allocations: 348.4 kB / 0.7038 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/2.243, allocations: 109.7 kB / 0.7039 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/2.243, allocations: 7.812 kB / 0.7039 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/2.243, allocations: 7.5 kB / 0.7039 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/2.243, allocations: 15.98 kB / 0.7039 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/2.243, allocations: 7.516 kB / 0.7039 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001949/2.243, allocations: 205.2 kB / 0.7041 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/2.243, allocations: 1.125 kB / 0.7041 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001131/2.244, allocations: 410.2 kB / 0.7045 GB, free: 231.5 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.001951/2.246, allocations: 1.276 MB / 0.7057 GB, free: 230.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004602/2.247, allocations: 208.6 kB / 0.7059 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.247, allocations: 0 / 0.7059 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/2.247, allocations: 103.2 kB / 0.706 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/2.248, allocations: 88.2 kB / 0.7061 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/2.251, allocations: 3.123 MB / 0.7092 GB, free: 229 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/2.251, allocations: 0.7642 MB / 0.7099 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001207/2.251, allocations: 29.03 kB / 0.7099 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/2.251, allocations: 93.12 kB / 0.71 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/2.251, allocations: 1.031 kB / 0.71 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/2.283, allocations: 18.17 MB / 0.7278 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/2.284, allocations: 241.8 kB / 0.728 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/4.477, allocations: 0.7656 kB / 0.728 GB, free: 224.4 MB / 0.5762 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)