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.005258/0.005259, allocations: 101.9 kB / 15.73 MB, free: 6.012 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.001223/0.001223, allocations: 193.5 kB / 16.67 MB, free: 5.949 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 290.6 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9468/0.9468, allocations: 169.2 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 96.19 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.193, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.5322/0.7252, allocations: 147.9 MB / 0.9109 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.7301, allocations: 4.644 MB / 0.9154 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.7304, allocations: 4 kB / 0.9154 GB, free: 10.43 MB / 0.67 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.0005878/0.7311, allocations: 175.4 kB / 0.9156 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.7314, allocations: 87.44 kB / 0.9157 GB, free: 10.17 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.7315, allocations: 59.92 kB / 0.9157 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.7319, allocations: 294.8 kB / 0.916 GB, free: 9.82 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.7321, allocations: 110.5 kB / 0.9161 GB, free: 9.711 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.7323, allocations: 107.6 kB / 0.9162 GB, free: 9.605 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.7325, allocations: 135.5 kB / 0.9163 GB, free: 9.473 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.7325, allocations: 12 kB / 0.9163 GB, free: 9.461 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.7325, allocations: 8 kB / 0.9164 GB, free: 9.453 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.7326, allocations: 35.86 kB / 0.9164 GB, free: 9.418 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.7326, allocations: 67.62 kB / 0.9165 GB, free: 9.352 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.7328, allocations: 158.2 kB / 0.9166 GB, free: 9.199 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7328, allocations: 4 kB / 0.9166 GB, free: 9.195 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7328, allocations: 0 / 0.9166 GB, free: 9.195 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7328, allocations: 0 / 0.9166 GB, free: 9.195 MB / 0.67 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.0004169/0.7333, allocations: 457 kB / 0.917 GB, free: 8.703 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7333, allocations: 8.031 kB / 0.9171 GB, free: 8.695 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.7333, allocations: 16.75 kB / 0.9171 GB, free: 8.68 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.7337, allocations: 258.3 kB / 0.9173 GB, free: 8.391 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.7337, allocations: 8.562 kB / 0.9173 GB, free: 8.383 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.7337, allocations: 19.94 kB / 0.9173 GB, free: 8.363 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.734, allocations: 213.1 kB / 0.9175 GB, free: 8.109 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.734, allocations: 3.938 kB / 0.9175 GB, free: 8.105 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.734, allocations: 4 kB / 0.9176 GB, free: 8.102 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.734, allocations: 8 kB / 0.9176 GB, free: 8.094 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.7341, allocations: 71.78 kB / 0.9176 GB, free: 8.023 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.7351, allocations: 1.586 MB / 0.9192 GB, free: 6.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 7.068e-05/0.7351, allocations: 169.1 kB / 0.9193 GB, free: 6.164 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.7352, allocations: 96.02 kB / 0.9194 GB, free: 6.066 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.7352, allocations: 75.28 kB / 0.9195 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.7353, allocations: 105.8 kB / 0.9196 GB, free: 5.879 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7353, allocations: 0 / 0.9196 GB, free: 5.879 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.105e-05/0.7354, allocations: 41.52 kB / 0.9196 GB, free: 5.832 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.7354, allocations: 126.7 kB / 0.9198 GB, free: 5.695 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.7356, allocations: 254.5 kB / 0.92 GB, free: 5.445 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.7357, allocations: 29.69 kB / 0.92 GB, free: 5.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.7358, allocations: 139.7 kB / 0.9202 GB, free: 5.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.7358, allocations: 4 kB / 0.9202 GB, free: 5.266 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.7358, allocations: 21.7 kB / 0.9202 GB, free: 5.238 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7359, allocations: 326.8 kB / 0.9205 GB, free: 4.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.7359, allocations: 7.938 kB / 0.9205 GB, free: 4.902 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.736, allocations: 54 kB / 0.9206 GB, free: 4.828 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.7361, allocations: 53.95 kB / 0.9206 GB, free: 4.754 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7361, allocations: 4 kB / 0.9206 GB, free: 4.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001487/0.7362, allocations: 97.16 kB / 0.9207 GB, free: 4.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.7362, allocations: 6.344 kB / 0.9207 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.7363, allocations: 7.984 kB / 0.9207 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7363, allocations: 4.219 kB / 0.9207 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.7363, allocations: 16 kB / 0.9207 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.7364, allocations: 0 / 0.9207 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.7364, allocations: 19.78 kB / 0.9208 GB, free: 4.598 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.7364, allocations: 4 kB / 0.9208 GB, free: 4.594 MB / 0.67 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.000103/0.7365, allocations: 197.7 kB / 0.921 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.7366, allocations: 128.6 kB / 0.9211 GB, free: 4.258 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.7367, allocations: 117.9 kB / 0.9212 GB, free: 4.129 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/0.7367, allocations: 188.2 kB / 0.9214 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-05/0.7368, allocations: 180.3 kB / 0.9215 GB, free: 3.754 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-05/0.7368, allocations: 184.7 kB / 0.9217 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.7371, allocations: 457.1 kB / 0.9222 GB, free: 3.062 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.7371, allocations: 104.9 kB / 0.9223 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.7372, allocations: 105.5 kB / 0.9224 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.248e-05/0.7372, allocations: 180.3 kB / 0.9225 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.7373, allocations: 188.1 kB / 0.9227 GB, free: 2.469 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.207e-05/0.7373, allocations: 180.3 kB / 0.9229 GB, free: 2.285 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.422e-05/0.7374, allocations: 186 kB / 0.9231 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.7375, allocations: 315.8 kB / 0.9234 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.7376, allocations: 205.9 kB / 0.9236 GB, free: 1.539 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.7377, allocations: 180.3 kB / 0.9237 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.7378, allocations: 104.9 kB / 0.9238 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.7379, allocations: 184.2 kB / 0.924 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.7379, allocations: 105 kB / 0.9241 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001391/0.738, allocations: 178 kB / 0.9243 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.738, allocations: 0 / 0.9243 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002377/0.7383, allocations: 20 kB / 0.9243 GB, free: 0.7578 MB / 0.67 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.0001214/0.7384, allocations: 174.5 kB / 0.9245 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 7.378e-05/0.7385, allocations: 24.23 kB / 0.9245 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7385, allocations: 4.125 kB / 0.9245 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.7385, allocations: 4 kB / 0.9245 GB, free: 0.543 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.7391, allocations: 0.5065 MB / 0.925 GB, free: 36 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.7395, allocations: 310.9 kB / 0.9253 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.7398, allocations: 0.7163 MB / 0.926 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.803e-05/0.7399, allocations: 21.53 kB / 0.926 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.7399, allocations: 11.44 kB / 0.926 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of SimCode: time 1.754e-06/0.7399, allocations: 4 kB / 0.926 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.004092/0.744, allocations: 1.646 MB / 0.9276 GB, free: 13.32 MB / 0.6856 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)