Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 297.4 MB / 312.6 MB, free: 2.918 MB / 234.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.001088/0.001088, allocations: 190 kB / 382.3 MB, free: 14.83 MB / 314.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.572/1.572, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.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.0009324/0.0009325, allocations: 96.36 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 12 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7333, allocations: 119.2 MB / 1.022 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.291/1.024, allocations: 243.5 MB / 1.26 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.02746/1.052, allocations: 25.43 MB / 1.285 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/1.054, allocations: 47.69 kB / 1.285 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002813/1.057, allocations: 0.7729 MB / 1.286 GB, free: 116 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004184/1.061, allocations: 1.394 MB / 1.287 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005403/1.067, allocations: 1.771 MB / 1.289 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005452/1.072, allocations: 3.517 MB / 1.292 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/1.074, allocations: 1.093 MB / 1.293 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/1.078, allocations: 1.155 MB / 1.294 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/1.079, allocations: 0.8363 MB / 1.295 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/1.079, allocations: 36 kB / 1.295 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/1.083, allocations: 1.843 MB / 1.297 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/1.084, allocations: 282.9 kB / 1.297 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008816/1.085, allocations: 0.5574 MB / 1.298 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004243/1.089, allocations: 2.262 MB / 1.3 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/1.089, allocations: 4 kB / 1.3 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.667e-06/1.089, allocations: 3.938 kB / 1.3 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.418e-05/1.089, allocations: 0 / 1.3 GB, free: 1.297 MB / 0.8698 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.002408/1.091, allocations: 1.234 MB / 1.301 GB, free: 8 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/1.092, allocations: 12.08 kB / 1.301 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.093, allocations: 234.2 kB / 1.302 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/1.094, allocations: 0.8493 MB / 1.302 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/1.094, allocations: 180.8 kB / 1.303 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/1.094, allocations: 99.88 kB / 1.303 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/1.096, allocations: 0.9285 MB / 1.304 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.096, allocations: 0 / 1.304 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/1.096, allocations: 36 kB / 1.304 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/1.096, allocations: 20 kB / 1.304 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/1.097, allocations: 0.6246 MB / 1.304 GB, free: 12.93 MB / 0.8855 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.004578/1.101, allocations: 4.443 MB / 1.309 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/1.102, allocations: 193.3 kB / 1.309 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/1.102, allocations: 144.8 kB / 1.309 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.103, allocations: 1.021 MB / 1.31 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/1.103, allocations: 30.56 kB / 1.31 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 2.404e-06/1.103, allocations: 0 / 1.31 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.00104/1.104, allocations: 476 kB / 1.31 GB, free: 6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/1.104, allocations: 59.34 kB / 1.31 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.106, allocations: 1.094 MB / 1.311 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/1.106, allocations: 33.7 kB / 1.312 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/1.106, allocations: 0.5079 MB / 1.312 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/1.106, allocations: 86.83 kB / 1.312 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/1.106, allocations: 4 kB / 1.312 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.106, allocations: 326 kB / 1.312 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/1.107, allocations: 128.8 kB / 1.313 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/1.107, allocations: 383.1 kB / 1.313 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/1.108, allocations: 463.5 kB / 1.313 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.108, allocations: 4 kB / 1.313 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008213/1.109, allocations: 0.5391 MB / 1.314 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.109, allocations: 11.94 kB / 1.314 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.109, allocations: 8 kB / 1.314 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.109, allocations: 8 kB / 1.314 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/1.109, allocations: 87.83 kB / 1.314 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/1.109, allocations: 15.94 kB / 1.314 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/1.11, allocations: 127.3 kB / 1.314 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/1.11, allocations: 28 kB / 1.314 GB, free: 1.875 MB / 0.8855 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.0003848/1.11, allocations: 286.3 kB / 1.314 GB, free: 1.586 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.11, allocations: 110.6 kB / 1.315 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/1.111, allocations: 428.2 kB / 1.315 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.111, allocations: 0 / 1.315 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/1.111, allocations: 3.938 kB / 1.315 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.111, allocations: 0 / 1.315 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/1.113, allocations: 1.55 MB / 1.316 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.113, allocations: 4 kB / 1.316 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/1.113, allocations: 43.86 kB / 1.316 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/1.113, allocations: 8 kB / 1.316 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/1.113, allocations: 8 kB / 1.316 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.113, allocations: 11.98 kB / 1.317 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.113, allocations: 8.219 kB / 1.317 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/1.114, allocations: 0.5756 MB / 1.317 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/1.114, allocations: 247.6 kB / 1.317 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.114, allocations: 8 kB / 1.317 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/1.115, allocations: 39.91 kB / 1.317 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/1.115, allocations: 23.86 kB / 1.317 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/1.115, allocations: 12 kB / 1.317 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009849/1.116, allocations: 0.7705 MB / 1.318 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/1.116, allocations: 0 / 1.318 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008711/1.117, allocations: 287.5 kB / 1.318 GB, free: 13.25 MB / 0.9011 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.0006456/1.118, allocations: 353.5 kB / 1.319 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005607/1.118, allocations: 332 kB / 1.319 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.118, allocations: 0 / 1.319 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/1.118, allocations: 141.2 kB / 1.319 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.121, allocations: 0.5201 MB / 1.32 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/1.123, allocations: 1.916 MB / 1.322 GB, free: 9.914 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/1.124, allocations: 1.06 MB / 1.323 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007333/1.125, allocations: 200.2 kB / 1.323 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/1.125, allocations: 79.36 kB / 1.323 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of SimCode: time 2.71e-07/1.125, allocations: 0 / 1.323 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of Templates: time 0.5148/1.64, allocations: 19.47 MB / 1.342 GB, free: 159.8 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)