Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8073/0.8073, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 183.3 kB / 192 MB, free: 6.73 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.7 MB / 450.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008393/0.0008394, allocations: 103.5 kB / 0.5211 GB, free: 1.613 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 285.4 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004493, allocations: 16.84 kB / 0.6948 GB, free: 59.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 82.45 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6053/0.7818, allocations: 243.5 MB / 1.013 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02857/0.8104, allocations: 25.48 MB / 1.038 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.8127, allocations: 47.62 kB / 1.038 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.8158, allocations: 0.7768 MB / 1.039 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.8206, allocations: 1.385 MB / 1.04 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005213/0.8258, allocations: 1.781 MB / 1.042 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004513/0.8303, allocations: 3.525 MB / 1.045 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.8323, allocations: 1.074 MB / 1.046 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.8352, allocations: 1.148 MB / 1.047 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.837, allocations: 0.8479 MB / 1.048 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.8372, allocations: 32 kB / 1.048 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004327/0.8415, allocations: 1.847 MB / 1.05 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.842, allocations: 283 kB / 1.05 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.8432, allocations: 0.5651 MB / 1.051 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.8478, allocations: 2.262 MB / 1.053 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8479, allocations: 0 / 1.053 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8479, allocations: 0 / 1.053 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.402e-05/0.848, allocations: 0 / 1.053 GB, free: 14.66 MB / 0.6355 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.002404/0.8504, allocations: 1.239 MB / 1.054 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8504, allocations: 8.031 kB / 1.054 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.8517, allocations: 238.3 kB / 1.055 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.8532, allocations: 0.8415 MB / 1.055 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.8534, allocations: 188.8 kB / 1.056 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.8536, allocations: 88 kB / 1.056 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.8553, allocations: 0.9284 MB / 1.057 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.8553, allocations: 0 / 1.057 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.8554, allocations: 36 kB / 1.057 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.8554, allocations: 24 kB / 1.057 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.8566, allocations: 0.6246 MB / 1.057 GB, free: 10.3 MB / 0.6355 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.004633/0.8612, allocations: 4.439 MB / 1.062 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.8616, allocations: 195.3 kB / 1.062 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.8618, allocations: 140.8 kB / 1.062 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/0.8627, allocations: 1.029 MB / 1.063 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.8627, allocations: 30.56 kB / 1.063 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.8627, allocations: 0 / 1.063 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0009844/0.8637, allocations: 478.7 kB / 1.063 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.8638, allocations: 51.41 kB / 1.063 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.8652, allocations: 1.102 MB / 1.065 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.8653, allocations: 33.64 kB / 1.065 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.8657, allocations: 0.504 MB / 1.065 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.8658, allocations: 86.83 kB / 1.065 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.8658, allocations: 12 kB / 1.065 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.866, allocations: 322 kB / 1.065 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.8662, allocations: 124.8 kB / 1.066 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.8666, allocations: 387.1 kB / 1.066 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.8672, allocations: 467.6 kB / 1.066 GB, free: 72 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8672, allocations: 0 / 1.066 GB, free: 72 kB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009127/0.8682, allocations: 0.5349 MB / 1.067 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.8682, allocations: 8.688 kB / 1.067 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8682, allocations: 7.938 kB / 1.067 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.8682, allocations: 12 kB / 1.067 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.8686, allocations: 87.83 kB / 1.067 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.8686, allocations: 15.94 kB / 1.067 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/0.8694, allocations: 126.9 kB / 1.067 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.8695, allocations: 27.98 kB / 1.067 GB, free: 15.24 MB / 0.6511 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.0003943/0.8699, allocations: 293.5 kB / 1.067 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.8701, allocations: 103 kB / 1.068 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/0.8708, allocations: 420.2 kB / 1.068 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.8708, allocations: 7.984 kB / 1.068 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8709, allocations: 0 / 1.068 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8709, allocations: 7.984 kB / 1.068 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.8731, allocations: 1.546 MB / 1.07 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.8732, allocations: 8.5 kB / 1.07 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.8733, allocations: 43.92 kB / 1.07 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.8734, allocations: 7.938 kB / 1.07 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.8734, allocations: 12 kB / 1.07 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.8734, allocations: 7.984 kB / 1.07 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.8734, allocations: 11.94 kB / 1.07 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.874, allocations: 0.5621 MB / 1.07 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.8744, allocations: 247.6 kB / 1.07 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.8746, allocations: 15.98 kB / 1.07 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.8751, allocations: 31.92 kB / 1.07 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.8751, allocations: 35.84 kB / 1.07 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.8752, allocations: 16 kB / 1.07 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001046/0.8762, allocations: 0.7705 MB / 1.071 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8762, allocations: 0 / 1.071 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009186/0.8771, allocations: 283.5 kB / 1.072 GB, free: 10.62 MB / 0.6511 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.0006934/0.8778, allocations: 343.2 kB / 1.072 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006181/0.8785, allocations: 340.6 kB / 1.072 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8785, allocations: 0 / 1.072 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.8787, allocations: 131.8 kB / 1.072 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.8815, allocations: 0.5233 MB / 1.073 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.8839, allocations: 1.916 MB / 1.075 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.8846, allocations: 1.068 MB / 1.076 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007827/0.8854, allocations: 200.1 kB / 1.076 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.8857, allocations: 75.44 kB / 1.076 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.8857, allocations: 4 kB / 1.076 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of Templates: time 0.03559/0.9213, allocations: 19.5 MB / 1.095 GB, free: 2.66 MB / 0.6667 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)