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.0008161/0.0008161, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000886/0.0008861, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 258.9 kB / 291.3 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9497/0.9497, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004464, allocations: 14.09 kB / 0.598 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6491/0.8393, allocations: 227.3 MB / 0.9065 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02596/0.8653, allocations: 20.7 MB / 0.9267 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.8681, allocations: 51.62 kB / 0.9268 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.8714, allocations: 0.6401 MB / 0.9274 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004777/0.8763, allocations: 1.162 MB / 0.9285 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/0.8808, allocations: 1.344 MB / 0.9298 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004485/0.8853, allocations: 2.992 MB / 0.9328 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.8871, allocations: 0.9074 MB / 0.9336 GB, free: 380 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.8898, allocations: 1.046 MB / 0.9347 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.8913, allocations: 0.8091 MB / 0.9355 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.8914, allocations: 36 kB / 0.9355 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.8939, allocations: 0.904 MB / 0.9364 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.8943, allocations: 283 kB / 0.9366 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.8947, allocations: 261.1 kB / 0.9369 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.8968, allocations: 1.57 MB / 0.9384 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8968, allocations: 0 / 0.9384 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.945e-06/0.8968, allocations: 0 / 0.9384 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.8969, allocations: 0 / 0.9384 GB, free: 11.45 MB / 0.6544 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.001888/0.8987, allocations: 1.247 MB / 0.9396 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.8988, allocations: 8.031 kB / 0.9397 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.8999, allocations: 222.4 kB / 0.9399 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.9012, allocations: 0.8302 MB / 0.9407 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.9014, allocations: 188.8 kB / 0.9409 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.9015, allocations: 92 kB / 0.9409 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.9032, allocations: 0.9207 MB / 0.9418 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.9032, allocations: 0 / 0.9418 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.9033, allocations: 40 kB / 0.9419 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.9033, allocations: 20 kB / 0.9419 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.9044, allocations: 0.6246 MB / 0.9425 GB, free: 7.117 MB / 0.6544 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.004866/0.9093, allocations: 4.443 MB / 0.9469 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.9097, allocations: 186.7 kB / 0.947 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.9099, allocations: 144.8 kB / 0.9472 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.911, allocations: 1.021 MB / 0.9482 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.911, allocations: 38.56 kB / 0.9482 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.756e-06/0.911, allocations: 4 kB / 0.9482 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.001046/0.9121, allocations: 460.1 kB / 0.9486 GB, free: 192 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.9121, allocations: 59.34 kB / 0.9487 GB, free: 120 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.9135, allocations: 1.102 MB / 0.9498 GB, free: 15 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.9135, allocations: 33.7 kB / 0.9498 GB, free: 14.96 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.9139, allocations: 0.504 MB / 0.9503 GB, free: 14.45 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.914, allocations: 94.67 kB / 0.9504 GB, free: 14.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.914, allocations: 8 kB / 0.9504 GB, free: 14.35 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9141, allocations: 318 kB / 0.9507 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.9144, allocations: 128.8 kB / 0.9508 GB, free: 13.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.9148, allocations: 387.1 kB / 0.9512 GB, free: 13.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.9151, allocations: 179.8 kB / 0.9514 GB, free: 13.25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9151, allocations: 0 / 0.9514 GB, free: 13.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008718/0.916, allocations: 0.5391 MB / 0.9519 GB, free: 12.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.916, allocations: 8 kB / 0.9519 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.916, allocations: 4 kB / 0.9519 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.916, allocations: 12.05 kB / 0.9519 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.9164, allocations: 95.81 kB / 0.952 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.9164, allocations: 15.92 kB / 0.952 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.9172, allocations: 125.8 kB / 0.9521 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.9173, allocations: 31.98 kB / 0.9522 GB, free: 12.42 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003721/0.9176, allocations: 282.3 kB / 0.9524 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.9178, allocations: 110.6 kB / 0.9525 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.9185, allocations: 420.2 kB / 0.9529 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.9185, allocations: 4 kB / 0.953 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9185, allocations: 0 / 0.953 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.9185, allocations: 3.984 kB / 0.953 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.9205, allocations: 1.539 MB / 0.9545 GB, free: 9.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.9206, allocations: 4 kB / 0.9545 GB, free: 9.945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.9207, allocations: 39.92 kB / 0.9545 GB, free: 9.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.9207, allocations: 8 kB / 0.9545 GB, free: 9.898 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.9208, allocations: 15.94 kB / 0.9545 GB, free: 9.883 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.9208, allocations: 8.562 kB / 0.9545 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.9208, allocations: 11.94 kB / 0.9545 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.9214, allocations: 0.5817 MB / 0.9551 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.9217, allocations: 247.6 kB / 0.9553 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.9218, allocations: 11.94 kB / 0.9554 GB, free: 8.941 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.9222, allocations: 31.92 kB / 0.9554 GB, free: 8.91 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.9223, allocations: 31.86 kB / 0.9554 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.9223, allocations: 12 kB / 0.9554 GB, free: 8.867 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009785/0.9233, allocations: 0.7664 MB / 0.9562 GB, free: 8.094 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9233, allocations: 8 kB / 0.9562 GB, free: 8.086 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009597/0.9243, allocations: 283.5 kB / 0.9565 GB, free: 7.809 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.9249, allocations: 309.7 kB / 0.9568 GB, free: 7.508 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.9254, allocations: 328 kB / 0.9571 GB, free: 7.188 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9254, allocations: 0 / 0.9571 GB, free: 7.188 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.9256, allocations: 141.2 kB / 0.9572 GB, free: 7.051 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.9277, allocations: 481.5 kB / 0.9577 GB, free: 6.594 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.9303, allocations: 1.824 MB / 0.9594 GB, free: 4.668 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.931, allocations: 1.063 MB / 0.9605 GB, free: 3.578 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008189/0.9318, allocations: 196.7 kB / 0.9607 GB, free: 3.391 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.932, allocations: 67.44 kB / 0.9607 GB, free: 3.324 MB / 0.67 GB Notification: Performance of SimCode: time 8.91e-07/0.932, allocations: 0 / 0.9607 GB, free: 3.324 MB / 0.67 GB Notification: Performance of Templates: time 0.02921/0.9612, allocations: 16.88 MB / 0.9772 GB, free: 2.707 MB / 0.6856 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)