Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 186.4 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7633/0.7633, allocations: 82.92 MB / 99.41 MB, free: 3.188 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 325.4 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 86.92 kB / 393.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008217/0.000822, allocations: 12 kB / 471.5 MB, free: 66.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09382, allocations: 67.45 MB / 0.5264 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6954/0.7892, allocations: 205.6 MB / 0.7272 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03364/0.8229, allocations: 18.82 MB / 0.7455 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.8247, allocations: 47.69 kB / 0.7456 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.8275, allocations: 0.5908 MB / 0.7462 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006209/0.8337, allocations: 1.47 MB / 0.7476 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005829/0.8396, allocations: 1.472 MB / 0.749 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004531/0.8441, allocations: 1.772 MB / 0.7508 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.8463, allocations: 0.9226 MB / 0.7517 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.8492, allocations: 0.9343 MB / 0.7526 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.8506, allocations: 0.5796 MB / 0.7532 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.8508, allocations: 36 kB / 0.7532 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.8537, allocations: 0.8073 MB / 0.754 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.8542, allocations: 255.2 kB / 0.7542 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.8548, allocations: 265.1 kB / 0.7545 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.8578, allocations: 1.496 MB / 0.7559 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8578, allocations: 0 / 0.7559 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.84e-06/0.8578, allocations: 0 / 0.7559 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.8578, allocations: 4 kB / 0.7559 GB, free: 3.711 MB / 0.5261 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.002266/0.8601, allocations: 1.227 MB / 0.7571 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8602, allocations: 8.031 kB / 0.7571 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.8616, allocations: 230.4 kB / 0.7574 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.8634, allocations: 0.8148 MB / 0.7582 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.8636, allocations: 188.8 kB / 0.7583 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.8638, allocations: 91.94 kB / 0.7584 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.866, allocations: 0.9168 MB / 0.7593 GB, free: 88 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.8661, allocations: 0 / 0.7593 GB, free: 88 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.8662, allocations: 36 kB / 0.7594 GB, free: 52 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.8662, allocations: 31.92 kB / 0.7594 GB, free: 20 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.868, allocations: 0.6284 MB / 0.76 GB, free: 15.39 MB / 0.5417 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.006799/0.8748, allocations: 4.431 MB / 0.7643 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.8753, allocations: 186.7 kB / 0.7645 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007964/0.8761, allocations: 0.6727 MB / 0.7652 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.8762, allocations: 30.56 kB / 0.7652 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=24): time 3.468e-06/0.8762, allocations: 0 / 0.7652 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24): time 0.001473/0.8777, allocations: 462.5 kB / 0.7656 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.8778, allocations: 59.34 kB / 0.7657 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.8799, allocations: 1.09 MB / 0.7668 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/0.88, allocations: 33.7 kB / 0.7668 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/0.8806, allocations: 0.5079 MB / 0.7673 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.8807, allocations: 90.77 kB / 0.7674 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.8807, allocations: 8 kB / 0.7674 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.8809, allocations: 325.9 kB / 0.7677 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.8813, allocations: 120.8 kB / 0.7678 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.882, allocations: 403.5 kB / 0.7682 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.8824, allocations: 179.8 kB / 0.7684 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.703e-06/0.8825, allocations: 0 / 0.7684 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001421/0.8839, allocations: 0.5394 MB / 0.7689 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.8839, allocations: 12.16 kB / 0.7689 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.884, allocations: 8 kB / 0.7689 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.884, allocations: 15.98 kB / 0.7689 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.8845, allocations: 87.84 kB / 0.769 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.8845, allocations: 11.98 kB / 0.769 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.8856, allocations: 127 kB / 0.7691 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.8857, allocations: 23.98 kB / 0.7692 GB, free: 5.273 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0006189/0.8863, allocations: 305.5 kB / 0.7694 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.8866, allocations: 102.9 kB / 0.7695 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.8876, allocations: 427.5 kB / 0.77 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.8876, allocations: 3.984 kB / 0.77 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.318e-06/0.8877, allocations: 4 kB / 0.77 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.521e-06/0.8877, allocations: 4 kB / 0.77 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.891, allocations: 1.52 MB / 0.7714 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.891, allocations: 4 kB / 0.7715 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.8912, allocations: 43.92 kB / 0.7715 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.8913, allocations: 8 kB / 0.7715 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.8913, allocations: 8 kB / 0.7715 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.8913, allocations: 11.94 kB / 0.7715 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.078e-06/0.8913, allocations: 7.938 kB / 0.7715 GB, free: 2.707 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.8925, allocations: 0.7984 MB / 0.7723 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.893, allocations: 235.7 kB / 0.7725 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.8932, allocations: 12 kB / 0.7725 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/0.8938, allocations: 43.81 kB / 0.7726 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.8939, allocations: 27.88 kB / 0.7726 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.894, allocations: 16 kB / 0.7726 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00155/0.8955, allocations: 0.7664 MB / 0.7734 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.18e-07/0.8955, allocations: 0 / 0.7734 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001334/0.8969, allocations: 283.5 kB / 0.7736 GB, free: 356 kB / 0.5417 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.001053/0.898, allocations: 295.2 kB / 0.7739 GB, free: 64 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.8996, allocations: 328.5 kB / 0.7742 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.8996, allocations: 0 / 0.7742 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.9002, allocations: 140.4 kB / 0.7744 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/0.905, allocations: 476.2 kB / 0.7748 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.9107, allocations: 1.805 MB / 0.7766 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.9123, allocations: 1.086 MB / 0.7777 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001965/0.9143, allocations: 195.3 kB / 0.7778 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.9147, allocations: 67.42 kB / 0.7779 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of SimCode: time 5.085e-06/0.9147, allocations: 0 / 0.7779 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of Templates: time 0.04332/0.9581, allocations: 16.67 MB / 0.7942 GB, free: 11.34 MB / 0.573 GB