Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001269/0.001269, allocations: 113.8 kB / 17.08 MB, free: 5.828 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.001269/0.001269, allocations: 199 kB / 18.01 MB, free: 4.965 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.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7695/0.7695, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.08 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 76.19 MB / 0.6327 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6101/0.7537, allocations: 248.9 MB / 0.8759 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03069/0.7844, allocations: 22.28 MB / 0.8976 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.7872, allocations: 59.62 kB / 0.8977 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003653/0.7909, allocations: 0.9703 MB / 0.8986 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.796, allocations: 1.465 MB / 0.9 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005442/0.8015, allocations: 1.933 MB / 0.9019 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00498/0.8065, allocations: 2.698 MB / 0.9046 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.8092, allocations: 1.32 MB / 0.9059 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.8126, allocations: 1.339 MB / 0.9072 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.8145, allocations: 0.9105 MB / 0.9081 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.8148, allocations: 112 kB / 0.9082 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.819, allocations: 1.68 MB / 0.9098 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000607/0.8196, allocations: 378.9 kB / 0.9102 GB, free: 104 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.821, allocations: 0.63 MB / 0.9108 GB, free: 15.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00462/0.8256, allocations: 2.282 MB / 0.913 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8256, allocations: 0 / 0.913 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8256, allocations: 3.938 kB / 0.913 GB, free: 13.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.602e-05/0.8257, allocations: 4 kB / 0.913 GB, free: 13.17 MB / 0.67 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.003082/0.8288, allocations: 1.464 MB / 0.9144 GB, free: 11.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.8289, allocations: 8.031 kB / 0.9144 GB, free: 11.65 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.8303, allocations: 226.4 kB / 0.9147 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.832, allocations: 0.9193 MB / 0.9156 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.8322, allocations: 192.8 kB / 0.9157 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.8324, allocations: 88 kB / 0.9158 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.8341, allocations: 0.9323 MB / 0.9167 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.8341, allocations: 0 / 0.9167 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.8342, allocations: 39.94 kB / 0.9168 GB, free: 9.156 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.8342, allocations: 24 kB / 0.9168 GB, free: 9.133 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.8354, allocations: 0.6324 MB / 0.9174 GB, free: 8.504 MB / 0.67 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.005152/0.8406, allocations: 4.427 MB / 0.9217 GB, free: 3.68 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.841, allocations: 186.7 kB / 0.9219 GB, free: 3.488 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.8412, allocations: 142.4 kB / 0.9221 GB, free: 3.348 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009497/0.8422, allocations: 1.021 MB / 0.9231 GB, free: 2.105 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.8422, allocations: 34.59 kB / 0.9231 GB, free: 2.062 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 2.655e-06/0.8423, allocations: 0 / 0.9231 GB, free: 2.062 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001126/0.8434, allocations: 474.7 kB / 0.9235 GB, free: 1.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.8434, allocations: 55.41 kB / 0.9236 GB, free: 1.527 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.845, allocations: 1.106 MB / 0.9247 GB, free: 416 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.845, allocations: 33.7 kB / 0.9247 GB, free: 376 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.8454, allocations: 0.5079 MB / 0.9252 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.8455, allocations: 86.75 kB / 0.9253 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.8457, allocations: 102 kB / 0.9254 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.8458, allocations: 318 kB / 0.9257 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.846, allocations: 128.8 kB / 0.9258 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.8465, allocations: 387.1 kB / 0.9262 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.8471, allocations: 471.5 kB / 0.9266 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.8471, allocations: 7.938 kB / 0.9266 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009522/0.848, allocations: 0.5351 MB / 0.9272 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.8481, allocations: 11.98 kB / 0.9272 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.8481, allocations: 7.938 kB / 0.9272 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.8481, allocations: 12 kB / 0.9272 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.8485, allocations: 87.84 kB / 0.9273 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.8485, allocations: 11.98 kB / 0.9273 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.8492, allocations: 99.27 kB / 0.9274 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.8493, allocations: 27.98 kB / 0.9274 GB, free: 13.38 MB / 0.6856 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.0003814/0.8497, allocations: 285.6 kB / 0.9277 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.8499, allocations: 98.78 kB / 0.9278 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.8506, allocations: 437 kB / 0.9282 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.8506, allocations: 11.98 kB / 0.9282 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8506, allocations: 0 / 0.9282 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8506, allocations: 288 / 0.9282 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.8529, allocations: 1.547 MB / 0.9297 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.8529, allocations: 8 kB / 0.9297 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.8531, allocations: 47.91 kB / 0.9298 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.8531, allocations: 11.94 kB / 0.9298 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.8532, allocations: 7.984 kB / 0.9298 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.8532, allocations: 11.94 kB / 0.9298 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.8532, allocations: 4 kB / 0.9298 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.8539, allocations: 0.5661 MB / 0.9303 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.8543, allocations: 247.7 kB / 0.9306 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.8545, allocations: 11.94 kB / 0.9306 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.8549, allocations: 15.98 kB / 0.9306 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.855, allocations: 31.84 kB / 0.9306 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.855, allocations: 12 kB / 0.9307 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001146/0.8562, allocations: 0.7861 MB / 0.9314 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8562, allocations: 0 / 0.9314 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001079/0.8573, allocations: 283.5 kB / 0.9317 GB, free: 8.758 MB / 0.6856 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.000852/0.8581, allocations: 327.5 kB / 0.932 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007146/0.8589, allocations: 331.9 kB / 0.9323 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8589, allocations: 1.375 kB / 0.9323 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.8591, allocations: 144.5 kB / 0.9325 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.8615, allocations: 0.5242 MB / 0.933 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.8641, allocations: 1.611 MB / 0.9345 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.8649, allocations: 1.071 MB / 0.9356 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.8652, allocations: 67.44 kB / 0.9357 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of SimCode: time 7.02e-07/0.8652, allocations: 4 kB / 0.9357 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of Templates: time 0.02903/0.8942, allocations: 17.09 MB / 0.9523 GB, free: 3.617 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)