Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 103.6 kB / 15.98 MB, free: 6.355 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.001206/0.001206, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.257/1.257, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 281.5 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8906/0.8906, allocations: 169.2 MB / 0.4985 GB, free: 4.672 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 93.89 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1732, allocations: 86.97 MB / 0.6803 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4556/0.6288, allocations: 171.7 MB / 0.848 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008384/0.6372, allocations: 9.422 MB / 0.8572 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.6375, allocations: 7.938 kB / 0.8572 GB, free: 10.2 MB / 0.6231 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.0006201/0.6382, allocations: 167.8 kB / 0.8573 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.6384, allocations: 83.5 kB / 0.8574 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.6386, allocations: 55.95 kB / 0.8575 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.6389, allocations: 330.6 kB / 0.8578 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.6393, allocations: 204.8 kB / 0.858 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.6396, allocations: 163.4 kB / 0.8581 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.6397, allocations: 131.4 kB / 0.8583 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.6398, allocations: 20 kB / 0.8583 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-05/0.6398, allocations: 28 kB / 0.8583 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.6399, allocations: 75.75 kB / 0.8584 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.64, allocations: 123.4 kB / 0.8585 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.6403, allocations: 215.5 kB / 0.8587 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6403, allocations: 0 / 0.8587 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6403, allocations: 0 / 0.8587 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6403, allocations: 3.938 kB / 0.8587 GB, free: 8.633 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005142/0.6408, allocations: 0.5113 MB / 0.8592 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6408, allocations: 8.031 kB / 0.8592 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.6409, allocations: 31.66 kB / 0.8593 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.6412, allocations: 271.4 kB / 0.8595 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.6412, allocations: 21.38 kB / 0.8595 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.6413, allocations: 27.98 kB / 0.8596 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.6417, allocations: 324 kB / 0.8599 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6417, allocations: 3.938 kB / 0.8599 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.6418, allocations: 12 kB / 0.8599 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.6418, allocations: 8 kB / 0.8599 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.642, allocations: 147.7 kB / 0.86 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.6432, allocations: 1.808 MB / 0.8618 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.6433, allocations: 173.1 kB / 0.862 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.6433, allocations: 84.08 kB / 0.862 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.6434, allocations: 75.28 kB / 0.8621 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.6434, allocations: 117.7 kB / 0.8622 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.6434, allocations: 0 / 0.8622 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 8.172e-05/0.6435, allocations: 57.41 kB / 0.8623 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.6436, allocations: 126.7 kB / 0.8624 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.644, allocations: 373.8 kB / 0.8628 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.644, allocations: 29.64 kB / 0.8628 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.6441, allocations: 163.8 kB / 0.8629 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-06/0.6441, allocations: 4 kB / 0.8629 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.6441, allocations: 17.72 kB / 0.863 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6443, allocations: 338.8 kB / 0.8633 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.6443, allocations: 8 kB / 0.8633 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.6443, allocations: 36.23 kB / 0.8633 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.337e-05/0.6444, allocations: 52.22 kB / 0.8634 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6444, allocations: 0 / 0.8634 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001313/0.6445, allocations: 81.28 kB / 0.8635 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6445, allocations: 10.34 kB / 0.8635 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6446, allocations: 0 / 0.8635 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.6446, allocations: 3.938 kB / 0.8635 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.6446, allocations: 12 kB / 0.8635 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6447, allocations: 4.156 kB / 0.8635 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.6447, allocations: 31.59 kB / 0.8635 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.6447, allocations: 0 / 0.8635 GB, free: 3.383 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001246/0.6449, allocations: 217 kB / 0.8637 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.6449, allocations: 136.5 kB / 0.8639 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.888e-05/0.645, allocations: 127 kB / 0.864 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-05/0.6451, allocations: 188.3 kB / 0.8642 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.403e-05/0.6451, allocations: 188.2 kB / 0.8643 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-05/0.6452, allocations: 176.3 kB / 0.8645 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.6455, allocations: 493 kB / 0.865 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/0.6456, allocations: 105 kB / 0.8651 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.6456, allocations: 108.9 kB / 0.8652 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-05/0.6457, allocations: 188.2 kB / 0.8654 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.6457, allocations: 180.3 kB / 0.8655 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-05/0.6458, allocations: 180.2 kB / 0.8657 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.852e-05/0.6459, allocations: 176.3 kB / 0.8659 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.646, allocations: 339.4 kB / 0.8662 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.6461, allocations: 209.7 kB / 0.8664 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.6462, allocations: 184.2 kB / 0.8666 GB, free: 52 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.6463, allocations: 102.4 kB / 0.8667 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.6464, allocations: 180.2 kB / 0.8668 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.6464, allocations: 101 kB / 0.8669 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002461/0.6467, allocations: 283.1 kB / 0.8672 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6467, allocations: 0 / 0.8672 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002517/0.6469, allocations: 28 kB / 0.8672 GB, free: 15.36 MB / 0.6387 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.0001181/0.6471, allocations: 174.5 kB / 0.8674 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 6.746e-05/0.6471, allocations: 19.94 kB / 0.8674 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6471, allocations: 0 / 0.8674 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.6471, allocations: 0 / 0.8674 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008344/0.648, allocations: 0.5492 MB / 0.8679 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.6486, allocations: 0.519 MB / 0.8685 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.6489, allocations: 0.7517 MB / 0.8692 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.6489, allocations: 19.44 kB / 0.8692 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.6489, allocations: 0 / 0.8692 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.004544/0.6535, allocations: 3.128 MB / 0.8723 GB, free: 10.18 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)