Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 114.5 kB / 16.42 MB, free: 6.492 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.001234/0.001235, allocations: 187.8 kB / 17.35 MB, free: 5.762 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00234/0.00234, allocations: 296.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9583/0.9583, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 103.8 kB / 0.6822 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5103, allocations: 86.98 MB / 0.7671 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1613/0.6717, allocations: 148 MB / 0.9116 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005316/0.677, allocations: 4.65 MB / 0.9162 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.6774, allocations: 15.94 kB / 0.9162 GB, free: 10.85 MB / 0.6856 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 (3) 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 (3) 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.0007176/0.6782, allocations: 162.9 kB / 0.9163 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.6787, allocations: 87.44 kB / 0.9164 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.679, allocations: 63.92 kB / 0.9165 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.6795, allocations: 306.8 kB / 0.9168 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.6799, allocations: 153.8 kB / 0.9169 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.6802, allocations: 119.4 kB / 0.917 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.6805, allocations: 147.5 kB / 0.9172 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.6805, allocations: 19.94 kB / 0.9172 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.6806, allocations: 20 kB / 0.9172 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.6807, allocations: 67.81 kB / 0.9173 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.6809, allocations: 99.42 kB / 0.9174 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.6813, allocations: 229.6 kB / 0.9176 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.6813, allocations: 8 kB / 0.9176 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6813, allocations: 0 / 0.9176 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.6813, allocations: 0 / 0.9176 GB, free: 9.398 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007206/0.682, allocations: 487.1 kB / 0.9181 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.6821, allocations: 12.03 kB / 0.9181 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.131e-05/0.6822, allocations: 24.66 kB / 0.9181 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.6826, allocations: 273.1 kB / 0.9183 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.6827, allocations: 12.81 kB / 0.9184 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.6827, allocations: 24.38 kB / 0.9184 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.6832, allocations: 309 kB / 0.9187 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6832, allocations: 11.94 kB / 0.9187 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.6832, allocations: 4 kB / 0.9187 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.6832, allocations: 8 kB / 0.9187 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.6835, allocations: 115.8 kB / 0.9188 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.685, allocations: 1.973 MB / 0.9207 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.6851, allocations: 165.1 kB / 0.9209 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.6851, allocations: 92.08 kB / 0.921 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.6852, allocations: 75.28 kB / 0.9211 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.6852, allocations: 113.9 kB / 0.9212 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.6852, allocations: 0 / 0.9212 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 0.0001122/0.6854, allocations: 53.36 kB / 0.9212 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.6854, allocations: 51.41 kB / 0.9213 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.6858, allocations: 332.5 kB / 0.9216 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.6858, allocations: 29.7 kB / 0.9216 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.686, allocations: 163.7 kB / 0.9218 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.686, allocations: 0 / 0.9218 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.686, allocations: 21.72 kB / 0.9218 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6862, allocations: 334.8 kB / 0.9221 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.6862, allocations: 4 kB / 0.9221 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.6863, allocations: 62.8 kB / 0.9222 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.6864, allocations: 74.75 kB / 0.9222 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.6864, allocations: 0 / 0.9222 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001991/0.6866, allocations: 109.2 kB / 0.9223 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6866, allocations: 7.938 kB / 0.9224 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6866, allocations: 4.25 kB / 0.9224 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6866, allocations: 7.938 kB / 0.9224 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.6867, allocations: 15.94 kB / 0.9224 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6867, allocations: 4 kB / 0.9224 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.6868, allocations: 31.67 kB / 0.9224 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.6869, allocations: 4 kB / 0.9224 GB, free: 4.074 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001364/0.687, allocations: 209.1 kB / 0.9226 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.6871, allocations: 132.6 kB / 0.9227 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.6872, allocations: 126 kB / 0.9229 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/0.6872, allocations: 184.1 kB / 0.923 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/0.6873, allocations: 101 kB / 0.9231 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.6874, allocations: 205.8 kB / 0.9233 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.6875, allocations: 184.2 kB / 0.9235 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.6876, allocations: 105 kB / 0.9236 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.6877, allocations: 184.2 kB / 0.9238 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.348e-05/0.6878, allocations: 255.5 kB / 0.924 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002007/0.688, allocations: 410.7 kB / 0.9244 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.089e-05/0.688, allocations: 101 kB / 0.9245 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002367/0.6883, allocations: 239 kB / 0.9247 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of Backend: time 5.51e-07/0.6883, allocations: 0 / 0.9247 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.6887, allocations: 106.3 kB / 0.9248 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of SimCode: time 0.001147/0.6899, allocations: 1.145 MB / 0.926 GB, free: 268 kB / 0.6856 GB Notification: Performance of Templates: time 0.005764/0.6956, allocations: 2.391 MB / 0.9283 GB, free: 13.92 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)