Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 193.5 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 278.9 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 99.89 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1764, allocations: 89.15 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.4527/0.6291, allocations: 145.8 MB / 0.8351 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005327/0.6345, allocations: 4.602 MB / 0.8396 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.6348, allocations: 10.44 kB / 0.8396 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.6353, allocations: 133.6 kB / 0.8398 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.6357, allocations: 78.59 kB / 0.8398 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.6358, allocations: 55.8 kB / 0.8399 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.6362, allocations: 353.1 kB / 0.8402 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.6364, allocations: 106.2 kB / 0.8403 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.6366, allocations: 94.02 kB / 0.8404 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.6368, allocations: 138.7 kB / 0.8406 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.6368, allocations: 7.75 kB / 0.8406 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.6368, allocations: 7.844 kB / 0.8406 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.6369, allocations: 30.92 kB / 0.8406 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.637, allocations: 73.73 kB / 0.8407 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.6371, allocations: 139.2 kB / 0.8408 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6371, allocations: 4 kB / 0.8408 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.22e-07/0.6372, allocations: 3.938 kB / 0.8408 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.6372, allocations: 0 / 0.8408 GB, free: 11.05 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004855/0.6377, allocations: 455.2 kB / 0.8412 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.6377, allocations: 8.906 kB / 0.8413 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.6377, allocations: 19.53 kB / 0.8413 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.638, allocations: 231 kB / 0.8415 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.6381, allocations: 11.69 kB / 0.8415 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.6381, allocations: 21.25 kB / 0.8415 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.6384, allocations: 212.2 kB / 0.8417 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.6384, allocations: 9.688 kB / 0.8417 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.6385, allocations: 6.875 kB / 0.8417 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.6385, allocations: 4.281 kB / 0.8417 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.6386, allocations: 75.66 kB / 0.8418 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.6398, allocations: 1.583 MB / 0.8434 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.6399, allocations: 173.1 kB / 0.8435 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.64, allocations: 84.08 kB / 0.8436 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.64, allocations: 84.64 kB / 0.8437 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.6401, allocations: 105.8 kB / 0.8438 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.6401, allocations: 1.094 kB / 0.8438 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.927e-05/0.6402, allocations: 45.7 kB / 0.8438 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.6403, allocations: 126.7 kB / 0.844 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.6405, allocations: 254.4 kB / 0.8442 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.6406, allocations: 25.7 kB / 0.8442 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6407, allocations: 146.5 kB / 0.8444 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.6407, allocations: 0 / 0.8444 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.6407, allocations: 23.03 kB / 0.8444 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6409, allocations: 326.4 kB / 0.8447 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.6409, allocations: 8.391 kB / 0.8447 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.641, allocations: 49.78 kB / 0.8448 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.769e-05/0.6411, allocations: 57.67 kB / 0.8448 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6411, allocations: 7.984 kB / 0.8448 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001585/0.6412, allocations: 96.81 kB / 0.8449 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6413, allocations: 5.5 kB / 0.8449 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6413, allocations: 1.375 kB / 0.8449 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6413, allocations: 2.75 kB / 0.8449 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.6414, allocations: 9.625 kB / 0.8449 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6414, allocations: 10.62 kB / 0.8449 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.6415, allocations: 25.41 kB / 0.845 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.6415, allocations: 2.75 kB / 0.845 GB, free: 6.922 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.6416, allocations: 203.9 kB / 0.8452 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.6417, allocations: 122.4 kB / 0.8453 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.6418, allocations: 123.3 kB / 0.8454 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.531e-05/0.6419, allocations: 177.6 kB / 0.8456 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.652e-05/0.642, allocations: 185.7 kB / 0.8457 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.087e-05/0.642, allocations: 180.2 kB / 0.8459 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.6424, allocations: 459.1 kB / 0.8464 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-05/0.6424, allocations: 104.9 kB / 0.8465 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.6425, allocations: 106.3 kB / 0.8466 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.258e-05/0.6426, allocations: 181.6 kB / 0.8467 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/0.6427, allocations: 184.2 kB / 0.8469 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.992e-05/0.6427, allocations: 179.5 kB / 0.8471 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.464e-05/0.6428, allocations: 181.6 kB / 0.8472 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.643, allocations: 322.6 kB / 0.8476 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.6431, allocations: 201.9 kB / 0.8477 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6433, allocations: 181.6 kB / 0.8479 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.6434, allocations: 106.3 kB / 0.848 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.6435, allocations: 181.6 kB / 0.8482 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.6435, allocations: 101 kB / 0.8483 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001678/0.6437, allocations: 182.2 kB / 0.8485 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6437, allocations: 4 kB / 0.8485 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002513/0.6439, allocations: 19.25 kB / 0.8485 GB, free: 3.242 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.6441, allocations: 175 kB / 0.8487 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.438e-05/0.6442, allocations: 20.31 kB / 0.8487 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6442, allocations: 0 / 0.8487 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/0.6442, allocations: 4.438 kB / 0.8487 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/0.645, allocations: 0.5785 MB / 0.8492 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.6455, allocations: 353.4 kB / 0.8496 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.6458, allocations: 0.7147 MB / 0.8503 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.001e-05/0.6459, allocations: 19.17 kB / 0.8503 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.6459, allocations: 14.31 kB / 0.8503 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.6459, allocations: 0 / 0.8503 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of Templates: time 0.004536/0.6505, allocations: 1.535 MB / 0.8518 GB, free: 0.7227 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)