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.001326/0.001326, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 287 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.2 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 97 kB / 0.5952 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1797, allocations: 86.98 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4845/0.6642, allocations: 148 MB / 0.8247 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004548/0.6688, allocations: 4.641 MB / 0.8292 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.6692, allocations: 10.69 kB / 0.8292 GB, free: 1.637 MB / 0.5606 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.0005778/0.6698, allocations: 167 kB / 0.8294 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.6702, allocations: 82.44 kB / 0.8295 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.6703, allocations: 63.83 kB / 0.8295 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.6707, allocations: 308.6 kB / 0.8298 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.6709, allocations: 144.7 kB / 0.83 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.6711, allocations: 119.6 kB / 0.8301 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.6713, allocations: 148.5 kB / 0.8302 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.6713, allocations: 16.03 kB / 0.8302 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-05/0.6714, allocations: 15.97 kB / 0.8303 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.6714, allocations: 68.38 kB / 0.8303 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.6716, allocations: 103.8 kB / 0.8304 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.6718, allocations: 222.9 kB / 0.8306 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6718, allocations: 3.562 kB / 0.8306 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6718, allocations: 1.156 kB / 0.8306 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.6718, allocations: 4 kB / 0.8306 GB, free: 1.305 MB / 0.5606 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.0004755/0.6723, allocations: 485.5 kB / 0.8311 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.6723, allocations: 13.73 kB / 0.8311 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.6724, allocations: 29.28 kB / 0.8312 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.6726, allocations: 258.3 kB / 0.8314 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.6727, allocations: 18.5 kB / 0.8314 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.6727, allocations: 20.91 kB / 0.8314 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.673, allocations: 315.1 kB / 0.8317 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.673, allocations: 5.094 kB / 0.8317 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.6731, allocations: 10.22 kB / 0.8318 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.6731, allocations: 6.531 kB / 0.8318 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.6733, allocations: 121.4 kB / 0.8319 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.6744, allocations: 1.969 MB / 0.8338 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/0.6745, allocations: 171 kB / 0.834 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.6745, allocations: 80.14 kB / 0.834 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.6746, allocations: 80.53 kB / 0.8341 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.6746, allocations: 108.2 kB / 0.8342 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6746, allocations: 0 / 0.8342 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.917e-05/0.6747, allocations: 60.48 kB / 0.8343 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.6748, allocations: 128.1 kB / 0.8344 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.6751, allocations: 327.4 kB / 0.8347 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.6751, allocations: 25.7 kB / 0.8347 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.6752, allocations: 163.5 kB / 0.8349 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.6752, allocations: 0 / 0.8349 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.6752, allocations: 25.67 kB / 0.8349 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6753, allocations: 337.5 kB / 0.8352 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.6754, allocations: 10.66 kB / 0.8352 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.6754, allocations: 55.47 kB / 0.8353 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.6755, allocations: 70.03 kB / 0.8354 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6755, allocations: 1.125 kB / 0.8354 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001607/0.6756, allocations: 110.9 kB / 0.8355 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6757, allocations: 9.688 kB / 0.8355 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6757, allocations: 2.656 kB / 0.8355 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6757, allocations: 6.406 kB / 0.8355 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.6758, allocations: 13.45 kB / 0.8355 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.6758, allocations: 2.156 kB / 0.8355 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.6759, allocations: 26.91 kB / 0.8355 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.6759, allocations: 5.906 kB / 0.8355 GB, free: 13.29 MB / 0.5762 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.0001198/0.676, allocations: 219.1 kB / 0.8357 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.6761, allocations: 125.1 kB / 0.8359 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.485e-05/0.6762, allocations: 129.7 kB / 0.836 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/0.6762, allocations: 183.3 kB / 0.8362 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-05/0.6763, allocations: 177.8 kB / 0.8363 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-05/0.6763, allocations: 184.2 kB / 0.8365 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.6766, allocations: 478.4 kB / 0.837 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.6766, allocations: 108.2 kB / 0.8371 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.6767, allocations: 104.4 kB / 0.8372 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-05/0.6767, allocations: 181.1 kB / 0.8373 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.6768, allocations: 180.2 kB / 0.8375 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.294e-05/0.6768, allocations: 187.6 kB / 0.8377 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.307e-05/0.6769, allocations: 181.2 kB / 0.8379 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.677, allocations: 327.1 kB / 0.8382 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.6771, allocations: 208.1 kB / 0.8384 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.6772, allocations: 184.3 kB / 0.8385 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.6773, allocations: 108.9 kB / 0.8387 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.6774, allocations: 181.4 kB / 0.8388 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.6774, allocations: 111.6 kB / 0.8389 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002008/0.6776, allocations: 235.8 kB / 0.8392 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6776, allocations: 0 / 0.8392 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002508/0.6779, allocations: 29.12 kB / 0.8392 GB, free: 9.695 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.0001198/0.678, allocations: 177.4 kB / 0.8394 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.6781, allocations: 22.92 kB / 0.8394 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6781, allocations: 0 / 0.8394 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.6781, allocations: 0 / 0.8394 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.6788, allocations: 0.5165 MB / 0.8399 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.6793, allocations: 403.3 kB / 0.8403 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.6796, allocations: 0.7496 MB / 0.841 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.597e-05/0.6797, allocations: 29.59 kB / 0.841 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.6798, allocations: 17.28 kB / 0.841 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.6798, allocations: 0 / 0.841 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of Templates: time 0.005288/0.6851, allocations: 2.353 MB / 0.8433 GB, free: 7.727 MB / 0.5762 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)