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.001129/0.001129, allocations: 110.4 kB / 16.37 MB, free: 6.016 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.001152/0.001152, allocations: 194.1 kB / 17.31 MB, free: 5.613 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 272.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9533/0.9533, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 103.5 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1922, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.4601/0.6524, allocations: 147.9 MB / 0.8261 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00446/0.6569, allocations: 4.634 MB / 0.8306 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.6571, allocations: 8 kB / 0.8306 GB, free: 5.961 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector 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/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal 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/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector 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/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.6577, allocations: 167.8 kB / 0.8308 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.658, allocations: 83.52 kB / 0.8309 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.6581, allocations: 63.86 kB / 0.8309 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.6584, allocations: 294.9 kB / 0.8312 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.6587, allocations: 107.4 kB / 0.8313 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.6588, allocations: 107.5 kB / 0.8314 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.659, allocations: 127.5 kB / 0.8315 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.659, allocations: 15.94 kB / 0.8315 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.6591, allocations: 8 kB / 0.8316 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.6591, allocations: 31.86 kB / 0.8316 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.68e-05/0.6592, allocations: 79.55 kB / 0.8317 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.6593, allocations: 158.2 kB / 0.8318 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6594, allocations: 0 / 0.8318 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6594, allocations: 0 / 0.8318 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6594, allocations: 0 / 0.8318 GB, free: 4.746 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003861/0.6598, allocations: 439.5 kB / 0.8322 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.6598, allocations: 8.031 kB / 0.8322 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.6598, allocations: 24.66 kB / 0.8323 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.6602, allocations: 257.8 kB / 0.8325 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.6602, allocations: 12.5 kB / 0.8325 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.6602, allocations: 19.94 kB / 0.8325 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.6605, allocations: 217.5 kB / 0.8327 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.6605, allocations: 0 / 0.8327 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.6605, allocations: 15.98 kB / 0.8328 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.6605, allocations: 8.625 kB / 0.8328 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.6606, allocations: 75.78 kB / 0.8328 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.6615, allocations: 1.582 MB / 0.8344 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.6616, allocations: 173.1 kB / 0.8346 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.6616, allocations: 84.08 kB / 0.8346 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.6617, allocations: 75.28 kB / 0.8347 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.6617, allocations: 109.8 kB / 0.8348 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6617, allocations: 0 / 0.8348 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.751e-05/0.6618, allocations: 49.5 kB / 0.8349 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.6619, allocations: 130.7 kB / 0.835 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.6621, allocations: 242.6 kB / 0.8352 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.6621, allocations: 25.7 kB / 0.8352 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.6622, allocations: 147.7 kB / 0.8354 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.6622, allocations: 0 / 0.8354 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.6622, allocations: 17.72 kB / 0.8354 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.6623, allocations: 330.8 kB / 0.8357 GB, free: 460 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.6624, allocations: 13.12 kB / 0.8357 GB, free: 448 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.6624, allocations: 45.95 kB / 0.8358 GB, free: 380 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.6625, allocations: 65.94 kB / 0.8358 GB, free: 292 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6625, allocations: 0 / 0.8358 GB, free: 292 kB / 0.5919 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000141/0.6626, allocations: 93.25 kB / 0.8359 GB, free: 192 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6626, allocations: 4.219 kB / 0.8359 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6627, allocations: 8 kB / 0.8359 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6627, allocations: 0 / 0.8359 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.6628, allocations: 12 kB / 0.8359 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6628, allocations: 3.984 kB / 0.8359 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.6628, allocations: 24.44 kB / 0.836 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.6628, allocations: 4 kB / 0.836 GB, free: 136 kB / 0.5919 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.0001026/0.663, allocations: 197.1 kB / 0.8362 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.663, allocations: 124.7 kB / 0.8363 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.6631, allocations: 121.8 kB / 0.8364 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-05/0.6631, allocations: 188.1 kB / 0.8366 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-05/0.6632, allocations: 180.3 kB / 0.8367 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.941e-05/0.6633, allocations: 180.2 kB / 0.8369 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.6635, allocations: 457.1 kB / 0.8374 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/0.6635, allocations: 117 kB / 0.8375 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.6636, allocations: 108.9 kB / 0.8376 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.602e-05/0.6636, allocations: 176.3 kB / 0.8377 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/0.6637, allocations: 180.2 kB / 0.8379 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.238e-05/0.6638, allocations: 176.3 kB / 0.8381 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-05/0.6638, allocations: 180.3 kB / 0.8383 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.664, allocations: 331.4 kB / 0.8386 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.6641, allocations: 202.1 kB / 0.8388 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.6641, allocations: 180.3 kB / 0.8389 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.6642, allocations: 105 kB / 0.839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.6643, allocations: 184.2 kB / 0.8392 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.6643, allocations: 105 kB / 0.8393 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001347/0.6645, allocations: 178 kB / 0.8395 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6645, allocations: 4 kB / 0.8395 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002468/0.6647, allocations: 20 kB / 0.8395 GB, free: 12.3 MB / 0.6075 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.0001048/0.6648, allocations: 170.5 kB / 0.8397 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.328e-05/0.6649, allocations: 27.94 kB / 0.8397 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6649, allocations: 4 kB / 0.8397 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.6649, allocations: 0 / 0.8397 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.6655, allocations: 0.4997 MB / 0.8402 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.6659, allocations: 318.8 kB / 0.8405 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.6661, allocations: 0.7124 MB / 0.8412 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.6662, allocations: 21.48 kB / 0.8412 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.6662, allocations: 15.44 kB / 0.8412 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.6662, allocations: 0 / 0.8412 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.003897/0.6701, allocations: 1.585 MB / 0.8428 GB, free: 8.926 MB / 0.6075 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)