Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 103.8 kB / 16.41 MB, free: 6.508 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.001138/0.001138, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 285.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.61, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7143/1.324, allocations: 249 MB / 1.01 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02437/1.349, allocations: 22.27 MB / 1.032 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/1.351, allocations: 54.41 kB / 1.032 GB, free: 1 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44: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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44: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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44: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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44: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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_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.003043/1.354, allocations: 0.9922 MB / 1.033 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004138/1.358, allocations: 1.524 MB / 1.034 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004578/1.363, allocations: 1.954 MB / 1.036 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00364/1.366, allocations: 2.708 MB / 1.039 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/1.368, allocations: 1.314 MB / 1.04 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/1.371, allocations: 1.359 MB / 1.042 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/1.373, allocations: 0.9272 MB / 1.043 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/1.373, allocations: 109.4 kB / 1.043 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/1.377, allocations: 1.691 MB / 1.044 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003894/1.377, allocations: 377.6 kB / 1.045 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008797/1.378, allocations: 0.6361 MB / 1.045 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003995/1.382, allocations: 2.286 MB / 1.047 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/1.382, allocations: 3.938 kB / 1.047 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.906e-06/1.382, allocations: 3.938 kB / 1.047 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.169e-05/1.382, allocations: 0 / 1.047 GB, free: 15.82 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002539/1.385, allocations: 1.474 MB / 1.049 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.385, allocations: 11.06 kB / 1.049 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/1.386, allocations: 220.6 kB / 1.049 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.387, allocations: 0.9175 MB / 1.05 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/1.388, allocations: 187.2 kB / 1.05 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.388, allocations: 92.84 kB / 1.05 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/1.389, allocations: 0.9305 MB / 1.051 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.39, allocations: 1.375 kB / 1.051 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-05/1.39, allocations: 35.53 kB / 1.051 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/1.39, allocations: 21.75 kB / 1.051 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/1.391, allocations: 0.6341 MB / 1.052 GB, free: 13.6 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004682/1.396, allocations: 4.434 MB / 1.056 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/1.396, allocations: 190.5 kB / 1.056 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/1.396, allocations: 147.5 kB / 1.057 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009884/1.397, allocations: 1.021 MB / 1.058 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.397, allocations: 34.5 kB / 1.058 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.746e-06/1.397, allocations: 4 kB / 1.058 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001131/1.398, allocations: 467.1 kB / 1.058 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.398, allocations: 56.81 kB / 1.058 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/1.4, allocations: 1.105 MB / 1.059 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/1.4, allocations: 32.58 kB / 1.059 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/1.4, allocations: 0.5081 MB / 1.06 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/1.4, allocations: 93.7 kB / 1.06 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.4, allocations: 98.53 kB / 1.06 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.401, allocations: 318.1 kB / 1.06 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/1.401, allocations: 128.5 kB / 1.06 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/1.401, allocations: 388.6 kB / 1.061 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/1.402, allocations: 473.3 kB / 1.061 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.402, allocations: 0 / 1.061 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009075/1.403, allocations: 0.5349 MB / 1.062 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.403, allocations: 14.12 kB / 1.062 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.403, allocations: 5.5 kB / 1.062 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.403, allocations: 8.031 kB / 1.062 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/1.403, allocations: 91.14 kB / 1.062 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.403, allocations: 16.84 kB / 1.062 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/1.404, allocations: 97.11 kB / 1.062 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/1.404, allocations: 25.84 kB / 1.062 GB, free: 6.27 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.000388/1.404, allocations: 286.1 kB / 1.062 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.405, allocations: 112.3 kB / 1.062 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/1.405, allocations: 427.7 kB / 1.063 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.405, allocations: 0 / 1.063 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.405, allocations: 0 / 1.063 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/1.406, allocations: 230.5 kB / 1.063 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.406, allocations: 10.28 kB / 1.063 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/1.406, allocations: 13.48 kB / 1.063 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/1.406, allocations: 14.84 kB / 1.063 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005915/1.407, allocations: 358.8 kB / 1.063 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006528/1.407, allocations: 0.5265 MB / 1.064 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002026/1.408, allocations: 112.2 kB / 1.064 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001204/1.409, allocations: 0.775 MB / 1.065 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of Backend: time 8.91e-07/1.409, allocations: 0 / 1.065 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002814/1.412, allocations: 0.6996 MB / 1.065 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004301/1.416, allocations: 2.32 MB / 1.068 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of Templates: time 0.0373/1.453, allocations: 21.34 MB / 1.088 GB, free: 14.6 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)