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.001761/0.001761, allocations: 109 kB / 16.27 MB, free: 6.41 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.002028/0.002028, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.791/0.791, allocations: 126.1 MB / 417.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.89 kB / 0.495 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3964, allocations: 78.7 MB / 0.5718 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6062/1.003, allocations: 248.9 MB / 0.8149 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02138/1.024, allocations: 22.27 MB / 0.8367 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/1.027, allocations: 55.62 kB / 0.8367 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/1.029, allocations: 0.9701 MB / 0.8377 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003695/1.033, allocations: 1.473 MB / 0.8391 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/1.037, allocations: 1.916 MB / 0.841 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004299/1.042, allocations: 2.702 MB / 0.8436 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/1.043, allocations: 1.316 MB / 0.8449 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/1.046, allocations: 1.335 MB / 0.8462 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/1.048, allocations: 0.9062 MB / 0.8471 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/1.048, allocations: 107.1 kB / 0.8472 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/1.051, allocations: 1.681 MB / 0.8488 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003908/1.052, allocations: 381.1 kB / 0.8492 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007761/1.052, allocations: 0.6342 MB / 0.8498 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003305/1.056, allocations: 2.234 MB / 0.852 GB, free: 11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.056, allocations: 0 / 0.852 GB, free: 11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.076e-06/1.056, allocations: 0 / 0.852 GB, free: 11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.808e-05/1.056, allocations: 0 / 0.852 GB, free: 11 MB / 0.5919 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.002081/1.058, allocations: 1.472 MB / 0.8534 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/1.058, allocations: 8.75 kB / 0.8534 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.059, allocations: 223.1 kB / 0.8537 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/1.06, allocations: 0.8567 MB / 0.8545 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/1.06, allocations: 190.6 kB / 0.8547 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.061, allocations: 89.31 kB / 0.8548 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.062, allocations: 0.9332 MB / 0.8557 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/1.062, allocations: 7.938 kB / 0.8557 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/1.062, allocations: 40.22 kB / 0.8557 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/1.062, allocations: 23.53 kB / 0.8557 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/1.063, allocations: 0.6279 MB / 0.8564 GB, free: 7.996 MB / 0.5919 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.004823/1.068, allocations: 4.473 MB / 0.8607 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/1.068, allocations: 185.2 kB / 0.8609 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/1.069, allocations: 147.6 kB / 0.861 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.07, allocations: 1.019 MB / 0.862 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.07, allocations: 30.56 kB / 0.8621 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.625e-06/1.07, allocations: 0 / 0.8621 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001216/1.071, allocations: 470.6 kB / 0.8625 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.071, allocations: 57.84 kB / 0.8626 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/1.073, allocations: 1.11 MB / 0.8637 GB, free: 208 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/1.073, allocations: 29.7 kB / 0.8637 GB, free: 172 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/1.073, allocations: 0.5124 MB / 0.8642 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/1.073, allocations: 86.75 kB / 0.8643 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.073, allocations: 102 kB / 0.8644 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.074, allocations: 318 kB / 0.8647 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/1.074, allocations: 128.8 kB / 0.8648 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/1.074, allocations: 388.3 kB / 0.8652 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/1.075, allocations: 466.9 kB / 0.8656 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.075, allocations: 4 kB / 0.8656 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00104/1.076, allocations: 0.5352 MB / 0.8661 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.076, allocations: 11.94 kB / 0.8661 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.076, allocations: 4 kB / 0.8661 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/1.076, allocations: 8 kB / 0.8662 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/1.076, allocations: 91.64 kB / 0.8662 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.076, allocations: 18.47 kB / 0.8663 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/1.077, allocations: 99.11 kB / 0.8664 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/1.077, allocations: 24 kB / 0.8664 GB, free: 13.27 MB / 0.6075 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.0003937/1.078, allocations: 290.2 kB / 0.8667 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/1.078, allocations: 102.7 kB / 0.8668 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/1.078, allocations: 423.5 kB / 0.8672 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.078, allocations: 0 / 0.8672 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.078, allocations: 3.938 kB / 0.8672 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.078, allocations: 7.938 kB / 0.8672 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/1.081, allocations: 1.556 MB / 0.8687 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.081, allocations: 4 kB / 0.8687 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/1.081, allocations: 38.52 kB / 0.8687 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.081, allocations: 4 kB / 0.8687 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.081, allocations: 12 kB / 0.8687 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.081, allocations: 10.47 kB / 0.8688 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.081, allocations: 10.53 kB / 0.8688 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/1.082, allocations: 0.5829 MB / 0.8693 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/1.082, allocations: 231.8 kB / 0.8696 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/1.082, allocations: 23.86 kB / 0.8696 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.082, allocations: 20.03 kB / 0.8696 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/1.083, allocations: 30.36 kB / 0.8696 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/1.083, allocations: 16 kB / 0.8696 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001114/1.084, allocations: 0.7848 MB / 0.8704 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/1.084, allocations: 0 / 0.8704 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001057/1.085, allocations: 275.5 kB / 0.8707 GB, free: 8.719 MB / 0.6075 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.0007424/1.085, allocations: 329.6 kB / 0.871 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006593/1.086, allocations: 342.4 kB / 0.8713 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/1.086, allocations: 320 / 0.8713 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/1.086, allocations: 147.2 kB / 0.8714 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/1.089, allocations: 0.5184 MB / 0.872 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/1.091, allocations: 1.596 MB / 0.8735 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/1.092, allocations: 1.067 MB / 0.8746 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008225/1.093, allocations: 198.7 kB / 0.8747 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/1.093, allocations: 63.44 kB / 0.8748 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/1.093, allocations: 0 / 0.8748 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.03653/1.129, allocations: 18.46 MB / 0.8928 GB, free: 2.332 MB / 0.6231 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)