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.001655/0.001655, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001889/0.001889, allocations: 196.2 kB / 16.14 MB, free: 6.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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 279 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002835/0.002835, allocations: 101.2 kB / 0.6057 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1932, allocations: 89.15 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5935/0.7867, allocations: 246.7 MB / 0.9337 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.8142, allocations: 22.28 MB / 0.9554 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.816, allocations: 51.62 kB / 0.9555 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.8187, allocations: 0.7924 MB / 0.9563 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.8226, allocations: 1.39 MB / 0.9576 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.8277, allocations: 1.771 MB / 0.9593 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005084/0.8328, allocations: 3.521 MB / 0.9628 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.8351, allocations: 1.154 MB / 0.9639 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.8388, allocations: 1.202 MB / 0.9651 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.8403, allocations: 0.9415 MB / 0.966 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.8405, allocations: 68 kB / 0.9661 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003987/0.8445, allocations: 1.897 MB / 0.9679 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.8449, allocations: 335 kB / 0.9682 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.8458, allocations: 0.5946 MB / 0.9688 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003703/0.8495, allocations: 2.306 MB / 0.9711 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8495, allocations: 0 / 0.9711 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8495, allocations: 0 / 0.9711 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.8496, allocations: 0 / 0.9711 GB, free: 14.8 MB / 0.7012 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.002249/0.8518, allocations: 1.477 MB / 0.9725 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8519, allocations: 8.031 kB / 0.9725 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.853, allocations: 230.4 kB / 0.9727 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.8543, allocations: 0.8453 MB / 0.9736 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.8545, allocations: 188.8 kB / 0.9737 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.8546, allocations: 95.98 kB / 0.9738 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.8562, allocations: 0.9362 MB / 0.9748 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8562, allocations: 0 / 0.9748 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.8563, allocations: 40 kB / 0.9748 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.8564, allocations: 20 kB / 0.9748 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.8575, allocations: 0.6324 MB / 0.9754 GB, free: 10.19 MB / 0.7012 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.00493/0.8625, allocations: 4.443 MB / 0.9798 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.8629, allocations: 182.7 kB / 0.9799 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.8631, allocations: 142 kB / 0.9801 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.8643, allocations: 1.025 MB / 0.9811 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.8643, allocations: 34.56 kB / 0.9811 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=24): time 1.803e-06/0.8643, allocations: 4 kB / 0.9811 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24): time 0.00111/0.8655, allocations: 466.1 kB / 0.9816 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.8655, allocations: 55.41 kB / 0.9816 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.867, allocations: 1.11 MB / 0.9827 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.8671, allocations: 33.64 kB / 0.9827 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.8676, allocations: 0.504 MB / 0.9832 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.8677, allocations: 94.73 kB / 0.9833 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.8678, allocations: 98.03 kB / 0.9834 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.868, allocations: 325.9 kB / 0.9837 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.8682, allocations: 128.8 kB / 0.9838 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.8688, allocations: 386.8 kB / 0.9842 GB, free: 408 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.8694, allocations: 475.5 kB / 0.9847 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.8695, allocations: 8 kB / 0.9847 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009783/0.8704, allocations: 0.5349 MB / 0.9852 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.8705, allocations: 8 kB / 0.9852 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.8705, allocations: 7.938 kB / 0.9852 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8705, allocations: 8 kB / 0.9852 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.8709, allocations: 92.45 kB / 0.9853 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.8709, allocations: 15.94 kB / 0.9853 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.8717, allocations: 130.9 kB / 0.9854 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.8718, allocations: 24 kB / 0.9855 GB, free: 15.02 MB / 0.7169 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.000387/0.8722, allocations: 281.6 kB / 0.9857 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.8723, allocations: 102.8 kB / 0.9858 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000774/0.8731, allocations: 435 kB / 0.9862 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.8731, allocations: 4 kB / 0.9862 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8732, allocations: 0 / 0.9862 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8732, allocations: 0 / 0.9862 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.8755, allocations: 1.55 MB / 0.9878 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.8755, allocations: 7.984 kB / 0.9878 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.8757, allocations: 39.92 kB / 0.9878 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.8757, allocations: 7.938 kB / 0.9878 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.8757, allocations: 12.56 kB / 0.9878 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.8757, allocations: 8 kB / 0.9878 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.8758, allocations: 7.938 kB / 0.9878 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/0.8765, allocations: 0.5692 MB / 0.9884 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.8768, allocations: 236 kB / 0.9886 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.8769, allocations: 15.94 kB / 0.9886 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.8774, allocations: 35.88 kB / 0.9887 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.8775, allocations: 31.84 kB / 0.9887 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.8775, allocations: 15.98 kB / 0.9887 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001141/0.8786, allocations: 0.7783 MB / 0.9895 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.114e-06/0.8787, allocations: 0 / 0.9895 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008796/0.8795, allocations: 291.4 kB / 0.9898 GB, free: 10.39 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006985/0.8802, allocations: 347.5 kB / 0.9901 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006329/0.8809, allocations: 328.7 kB / 0.9904 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8809, allocations: 0 / 0.9904 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.8811, allocations: 144.2 kB / 0.9905 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.8834, allocations: 487 kB / 0.991 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.886, allocations: 1.896 MB / 0.9929 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000778/0.8868, allocations: 1.079 MB / 0.9939 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007515/0.8876, allocations: 197.1 kB / 0.9941 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.8877, allocations: 71.42 kB / 0.9942 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of SimCode: time 4.2e-07/0.8878, allocations: 0 / 0.9942 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of Templates: time 0.03441/0.9222, allocations: 17.83 MB / 1.012 GB, free: 4.219 MB / 0.7325 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)