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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7935/0.7935, allocations: 143.4 MB / 159.2 MB, free: 4.887 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 184.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 115.7 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 278.7 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 83.88 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3172, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.4495/0.7667, allocations: 145.8 MB / 0.9103 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004306/0.771, allocations: 4.606 MB / 0.9148 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.7714, allocations: 9.125 kB / 0.9148 GB, free: 1.352 MB / 0.5573 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.0005784/0.772, allocations: 133.9 kB / 0.9149 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.7723, allocations: 82.61 kB / 0.915 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.7725, allocations: 48.69 kB / 0.915 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.7729, allocations: 364 kB / 0.9154 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.7732, allocations: 108.6 kB / 0.9155 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.7734, allocations: 93.41 kB / 0.9156 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.7737, allocations: 136 kB / 0.9157 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.7737, allocations: 8.094 kB / 0.9157 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.7737, allocations: 7.438 kB / 0.9157 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.7738, allocations: 25.14 kB / 0.9157 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.7739, allocations: 77.27 kB / 0.9158 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.7741, allocations: 149 kB / 0.9159 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7741, allocations: 5.688 kB / 0.916 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7741, allocations: 0 / 0.916 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7741, allocations: 2.906 kB / 0.916 GB, free: 1.285 MB / 0.5573 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.0005141/0.7746, allocations: 441.1 kB / 0.9164 GB, free: 16.89 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7747, allocations: 10.34 kB / 0.9164 GB, free: 16.89 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.7747, allocations: 18.81 kB / 0.9164 GB, free: 16.88 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.775, allocations: 245.6 kB / 0.9166 GB, free: 16.67 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.775, allocations: 9.891 kB / 0.9167 GB, free: 16.67 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.775, allocations: 18.03 kB / 0.9167 GB, free: 16.66 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.7753, allocations: 212 kB / 0.9169 GB, free: 16.52 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7753, allocations: 8.812 kB / 0.9169 GB, free: 16.52 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.7753, allocations: 11.19 kB / 0.9169 GB, free: 16.52 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.7753, allocations: 3.188 kB / 0.9169 GB, free: 16.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.7754, allocations: 70.61 kB / 0.917 GB, free: 16.52 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009511/0.7764, allocations: 1.589 MB / 0.9185 GB, free: 15.07 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.7765, allocations: 170 kB / 0.9187 GB, free: 14.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.7765, allocations: 84.08 kB / 0.9188 GB, free: 14.81 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.7766, allocations: 79.88 kB / 0.9188 GB, free: 14.73 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.7766, allocations: 110.9 kB / 0.9189 GB, free: 14.62 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7766, allocations: 0 / 0.9189 GB, free: 14.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 8.8e-05/0.7767, allocations: 45.81 kB / 0.919 GB, free: 14.58 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.7768, allocations: 131.2 kB / 0.9191 GB, free: 14.44 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.777, allocations: 250.4 kB / 0.9193 GB, free: 14.34 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.777, allocations: 26.64 kB / 0.9194 GB, free: 14.31 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.7771, allocations: 142.9 kB / 0.9195 GB, free: 14.21 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.7771, allocations: 2.484 kB / 0.9195 GB, free: 14.21 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.7771, allocations: 18.25 kB / 0.9195 GB, free: 14.19 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7772, allocations: 328.9 kB / 0.9198 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.7773, allocations: 9.609 kB / 0.9198 GB, free: 13.88 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.7773, allocations: 55.69 kB / 0.9199 GB, free: 13.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.7774, allocations: 59.44 kB / 0.92 GB, free: 13.77 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7774, allocations: 4 kB / 0.92 GB, free: 13.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001392/0.7775, allocations: 91.69 kB / 0.92 GB, free: 13.72 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7775, allocations: 5.625 kB / 0.9201 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7775, allocations: 2.781 kB / 0.9201 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.7776, allocations: 2.094 kB / 0.9201 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.7776, allocations: 14.81 kB / 0.9201 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7777, allocations: 5.812 kB / 0.9201 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.7777, allocations: 24.94 kB / 0.9201 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.7777, allocations: 7.125 kB / 0.9201 GB, free: 13.7 MB / 0.573 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.0001017/0.7778, allocations: 195.9 kB / 0.9203 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.7779, allocations: 127.1 kB / 0.9204 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.778, allocations: 121.5 kB / 0.9205 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/0.778, allocations: 182.7 kB / 0.9207 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.143e-05/0.7781, allocations: 181.3 kB / 0.9209 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.352e-05/0.7781, allocations: 182.1 kB / 0.9211 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.7784, allocations: 454.7 kB / 0.9215 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/0.7784, allocations: 107.5 kB / 0.9216 GB, free: 12.19 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.7785, allocations: 108.1 kB / 0.9217 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.675e-05/0.7785, allocations: 179.3 kB / 0.9219 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.7786, allocations: 185.9 kB / 0.922 GB, free: 11.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.418e-05/0.7787, allocations: 176.3 kB / 0.9222 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.265e-05/0.7787, allocations: 180.3 kB / 0.9224 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.7791, allocations: 0.8943 MB / 0.9233 GB, free: 10.46 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.7792, allocations: 203.1 kB / 0.9234 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.7793, allocations: 179.2 kB / 0.9236 GB, free: 10.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.7794, allocations: 102.1 kB / 0.9237 GB, free: 9.961 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.7795, allocations: 189.2 kB / 0.9239 GB, free: 9.781 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.7795, allocations: 102 kB / 0.924 GB, free: 9.676 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001527/0.7797, allocations: 186.1 kB / 0.9242 GB, free: 9.586 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7797, allocations: 0 / 0.9242 GB, free: 9.586 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003601/0.7801, allocations: 18.97 kB / 0.9242 GB, free: 9.586 MB / 0.573 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.0001313/0.7802, allocations: 174.7 kB / 0.9244 GB, free: 9.422 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.395e-05/0.7803, allocations: 18.75 kB / 0.9244 GB, free: 9.422 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7803, allocations: 2.531 kB / 0.9244 GB, free: 9.422 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.7803, allocations: 4 kB / 0.9244 GB, free: 9.418 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.781, allocations: 0.575 MB / 0.9249 GB, free: 8.895 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.7814, allocations: 348.2 kB / 0.9253 GB, free: 8.621 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.7817, allocations: 0.7123 MB / 0.926 GB, free: 7.926 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.878e-05/0.7818, allocations: 18.08 kB / 0.926 GB, free: 7.918 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.7818, allocations: 15.69 kB / 0.926 GB, free: 7.91 MB / 0.573 GB Notification: Performance of SimCode: time 9.12e-07/0.7818, allocations: 0 / 0.926 GB, free: 7.91 MB / 0.573 GB Notification: Performance of Templates: time 0.00405/0.7859, allocations: 1.571 MB / 0.9275 GB, free: 7.785 MB / 0.573 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)