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.001195/0.001195, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001176/0.001176, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 289.4 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9507/0.9507, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003075/0.003075, allocations: 95.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.4987, allocations: 86.98 MB / 0.7671 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7339/1.233, allocations: 249 MB / 1.01 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02085/1.254, allocations: 22.27 MB / 1.032 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/1.255, allocations: 54.22 kB / 1.032 GB, free: 1.043 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.002367/1.258, allocations: 0.984 MB / 1.033 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003587/1.261, allocations: 1.462 MB / 1.034 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00442/1.266, allocations: 1.94 MB / 1.036 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003153/1.269, allocations: 2.692 MB / 1.039 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/1.271, allocations: 1.321 MB / 1.04 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/1.273, allocations: 1.351 MB / 1.042 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/1.274, allocations: 0.9214 MB / 1.042 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/1.274, allocations: 108.4 kB / 1.043 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/1.277, allocations: 1.675 MB / 1.044 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/1.278, allocations: 382.7 kB / 1.045 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000635/1.278, allocations: 0.636 MB / 1.045 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/1.282, allocations: 2.289 MB / 1.047 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.282, allocations: 0 / 1.047 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/1.282, allocations: 0 / 1.047 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.398e-05/1.282, allocations: 0 / 1.047 GB, free: 15.87 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.001911/1.283, allocations: 1.47 MB / 1.049 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.284, allocations: 10.75 kB / 1.049 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.285, allocations: 225.4 kB / 1.049 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/1.286, allocations: 0.9138 MB / 1.05 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/1.286, allocations: 185 kB / 1.05 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.286, allocations: 93.81 kB / 1.05 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/1.288, allocations: 0.9341 MB / 1.051 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/1.288, allocations: 5.391 kB / 1.051 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/1.288, allocations: 37.39 kB / 1.051 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/1.288, allocations: 22.5 kB / 1.051 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/1.289, allocations: 0.6363 MB / 1.052 GB, free: 13.75 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.004951/1.294, allocations: 4.433 MB / 1.056 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/1.295, allocations: 187 kB / 1.056 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/1.295, allocations: 146.2 kB / 1.056 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009326/1.296, allocations: 1.027 MB / 1.057 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.296, allocations: 34.5 kB / 1.057 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/1.296, allocations: 4 kB / 1.057 GB, free: 9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001007/1.297, allocations: 463 kB / 1.058 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/1.297, allocations: 53.88 kB / 1.058 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/1.298, allocations: 1.111 MB / 1.059 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/1.299, allocations: 35.08 kB / 1.059 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/1.299, allocations: 0.5078 MB / 1.06 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/1.299, allocations: 91.73 kB / 1.06 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.299, allocations: 93.23 kB / 1.06 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.299, allocations: 320.6 kB / 1.06 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/1.3, allocations: 132.5 kB / 1.06 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/1.3, allocations: 380.6 kB / 1.061 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/1.301, allocations: 473.5 kB / 1.061 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.301, allocations: 3.219 kB / 1.061 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008457/1.301, allocations: 0.5359 MB / 1.062 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.301, allocations: 12.47 kB / 1.062 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.301, allocations: 7.062 kB / 1.062 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.301, allocations: 7 kB / 1.062 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/1.302, allocations: 90.72 kB / 1.062 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.302, allocations: 10.78 kB / 1.062 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/1.303, allocations: 101.9 kB / 1.062 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/1.303, allocations: 23.66 kB / 1.062 GB, free: 6.422 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.0003576/1.303, allocations: 289.1 kB / 1.062 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/1.303, allocations: 109.9 kB / 1.062 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/1.304, allocations: 423.4 kB / 1.063 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.304, allocations: 3.938 kB / 1.063 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.304, allocations: 0 / 1.063 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/1.304, allocations: 234.2 kB / 1.063 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.304, allocations: 4 kB / 1.063 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/1.305, allocations: 9.703 kB / 1.063 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/1.305, allocations: 15.17 kB / 1.063 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005488/1.305, allocations: 363 kB / 1.063 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005691/1.306, allocations: 0.5299 MB / 1.064 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001526/1.306, allocations: 113.5 kB / 1.064 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009482/1.307, allocations: 0.7787 MB / 1.065 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of Backend: time 9.01e-07/1.307, allocations: 0 / 1.065 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001856/1.309, allocations: 0.701 MB / 1.065 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003619/1.312, allocations: 2.309 MB / 1.067 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of Templates: time 0.03582/1.348, allocations: 21.34 MB / 1.088 GB, free: 14.79 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)