Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003911/0.003911, allocations: 178.3 kB / 7.454 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.674/0.674, allocations: 130.6 MB / 138.5 MB, free: 2.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 221.3 MB / 391.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 96.17 kB / 473.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.608e-06, allocations: 5.375 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1962, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.375/4.572, allocations: 1.68 GB / 2.307 GB, free: 267.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/4.572, allocations: 83.75 kB / 2.308 GB, free: 267.4 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAir$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd: time 1.02/5.592, allocations: 291.3 MB / 2.592 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.615e-05/5.592, allocations: 6.781 kB / 2.592 GB, free: 192.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005128/5.593, allocations: 437.7 kB / 2.592 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/5.593, allocations: 7.656 kB / 2.592 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/5.593, allocations: 25.19 kB / 2.592 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/5.593, allocations: 253.3 kB / 2.593 GB, free: 192 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/5.593, allocations: 6.938 kB / 2.593 GB, free: 192 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/5.593, allocations: 13.47 kB / 2.593 GB, free: 192 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000159/5.594, allocations: 71.47 kB / 2.593 GB, free: 192 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/5.594, allocations: 219.1 kB / 2.593 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/5.594, allocations: 3.5 kB / 2.593 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/5.594, allocations: 6.875 kB / 2.593 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/5.594, allocations: 6.719 kB / 2.593 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/5.595, allocations: 1.352 MB / 2.594 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.18e-05/5.595, allocations: 177.4 kB / 2.594 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/5.595, allocations: 80.14 kB / 2.595 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/5.595, allocations: 77.53 kB / 2.595 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/5.595, allocations: 107.5 kB / 2.595 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/5.595, allocations: 0 / 2.595 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.043e-05/5.595, allocations: 35.86 kB / 2.595 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/5.595, allocations: 56.25 kB / 2.595 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/5.595, allocations: 137.7 kB / 2.595 GB, free: 190 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/5.595, allocations: 29.5 kB / 2.595 GB, free: 190 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/5.595, allocations: 153.7 kB / 2.595 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/5.595, allocations: 3.406 kB / 2.595 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/5.595, allocations: 0 / 2.595 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/5.595, allocations: 314.6 kB / 2.595 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/5.595, allocations: 10.84 kB / 2.595 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/5.595, allocations: 34.41 kB / 2.595 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.139e-05/5.595, allocations: 3.875 kB / 2.595 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/5.595, allocations: 0 / 2.595 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/5.596, allocations: 57.61 kB / 2.596 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/5.596, allocations: 7.812 kB / 2.596 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/5.596, allocations: 0 / 2.596 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/5.596, allocations: 0 / 2.596 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/5.596, allocations: 7.312 kB / 2.596 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/5.596, allocations: 0 / 2.596 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/5.596, allocations: 9.625 kB / 2.596 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/5.596, allocations: 6.656 kB / 2.596 GB, free: 189.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/5.596, allocations: 187.3 kB / 2.596 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/5.596, allocations: 112.5 kB / 2.596 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/5.596, allocations: 113.1 kB / 2.596 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/5.596, allocations: 180.2 kB / 2.596 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-05/5.596, allocations: 182.2 kB / 2.596 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-05/5.596, allocations: 181.2 kB / 2.596 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/5.596, allocations: 439.4 kB / 2.597 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/5.596, allocations: 101 kB / 2.597 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/5.596, allocations: 103.8 kB / 2.597 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.134e-05/5.596, allocations: 185.2 kB / 2.597 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/5.596, allocations: 186.2 kB / 2.597 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.525e-05/5.597, allocations: 176.3 kB / 2.598 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.016e-05/5.597, allocations: 183.2 kB / 2.598 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.878e-05/5.597, allocations: 318.8 kB / 2.598 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/5.597, allocations: 189.5 kB / 2.598 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/5.597, allocations: 176.3 kB / 2.598 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/5.597, allocations: 101 kB / 2.599 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/5.597, allocations: 184.5 kB / 2.599 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/5.597, allocations: 112.1 kB / 2.599 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.736e-05/5.597, allocations: 104.9 kB / 2.599 GB, free: 186 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004875/5.598, allocations: 116.9 kB / 2.599 GB, free: 186 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/5.6, allocations: 1.482 MB / 2.6 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.097e-05/5.6, allocations: 12.03 kB / 2.601 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/5.6, allocations: 2.25 kB / 2.601 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.668e-06/5.6, allocations: 3.469 kB / 2.601 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/5.6, allocations: 0.5293 MB / 2.601 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/5.6, allocations: 231 kB / 2.601 GB, free: 185 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/5.601, allocations: 0.7408 MB / 2.602 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/5.601, allocations: 0 / 2.602 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.01411/5.615, allocations: 8.409 MB / 2.61 GB, free: 184.1 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)