Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00258/0.002585, allocations: 358.9 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.414/1.414, allocations: 165.8 MB / 183.1 MB, free: 5.406 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.663/3.663, allocations: 410.8 MB / 0.6001 GB, free: 15.22 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001723/0.001723, allocations: 192 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006797/0.0006798, allocations: 8 kB / 0.7429 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4831, allocations: 67.45 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.124/0.6071, allocations: 74.34 MB / 0.8813 GB, free: 2.273 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04516/0.6523, allocations: 20.72 MB / 0.9016 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.656, allocations: 91.31 kB / 0.9016 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005245/0.6613, allocations: 1.126 MB / 0.9027 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.6745, allocations: 3.306 MB / 0.906 GB, free: 8.977 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0158/0.6904, allocations: 3.937 MB / 0.9098 GB, free: 5.09 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02688/0.7173, allocations: 17.41 MB / 0.9268 GB, free: 3.633 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3992/1.117, allocations: 5.177 MB / 0.9319 GB, free: 17.86 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/1.128, allocations: 4.469 MB / 0.9362 GB, free: 17.86 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/1.141, allocations: 4.579 MB / 0.9407 GB, free: 17.84 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002561/1.143, allocations: 260.3 kB / 0.941 GB, free: 17.84 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00785/1.151, allocations: 1.328 MB / 0.9423 GB, free: 17.84 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003693/1.155, allocations: 1.218 MB / 0.9434 GB, free: 17.84 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003468/1.159, allocations: 1.112 MB / 0.9445 GB, free: 17.8 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/1.17, allocations: 6.883 MB / 0.9512 GB, free: 17.33 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.17, allocations: 0 / 0.9512 GB, free: 17.33 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.17, allocations: 0 / 0.9512 GB, free: 17.33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002859/1.17, allocations: 0 / 0.9512 GB, free: 17.33 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01795/1.188, allocations: 5.429 MB / 0.9565 GB, free: 14.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.188, allocations: 6.719 kB / 0.9566 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006386/1.195, allocations: 0.8399 MB / 0.9574 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/1.21, allocations: 5.022 MB / 0.9623 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/1.211, allocations: 261.9 kB / 0.9625 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/1.212, allocations: 341.2 kB / 0.9629 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/1.228, allocations: 5.736 MB / 0.9685 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/1.228, allocations: 10.06 kB / 0.9685 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008692/1.229, allocations: 152.6 kB / 0.9686 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.612e-05/1.229, allocations: 80.22 kB / 0.9687 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/1.246, allocations: 5.553 MB / 0.9741 GB, free: 11.87 MB / 474.7 MB 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.0568/1.303, allocations: 24 MB / 0.9976 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008489/1.312, allocations: 2.794 MB / 1 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005308/1.317, allocations: 1.93 MB / 1.002 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02011/1.337, allocations: 7.149 MB / 1.009 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005511/1.343, allocations: 1.938 MB / 1.011 GB, free: 3.148 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007564/1.35, allocations: 1.245 MB / 1.012 GB, free: 2.004 MB / 490.7 MB Notification: Performance of pre-optimization done (n=155): time 1.213e-05/1.35, allocations: 0 / 1.012 GB, free: 2.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=155): time 0.04048/1.391, allocations: 7.626 MB / 1.02 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/1.391, allocations: 148.6 kB / 1.02 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01897/1.41, allocations: 4.852 MB / 1.025 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009764/1.411, allocations: 65.77 kB / 1.025 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005181/1.416, allocations: 2.448 MB / 1.027 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001822/1.418, allocations: 0.5499 MB / 1.028 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005491/1.419, allocations: 55.12 kB / 1.028 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004002/1.419, allocations: 411.6 kB / 1.028 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007957/1.427, allocations: 1.664 MB / 1.03 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009827/1.437, allocations: 2.893 MB / 1.032 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009574/1.447, allocations: 2.103 MB / 1.035 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.342e-05/1.447, allocations: 8 kB / 1.035 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.03141/1.478, allocations: 6.021 MB / 1.04 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001425/1.48, allocations: 1.096 MB / 1.041 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/1.48, allocations: 39.98 kB / 1.042 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2221/1.702, allocations: 11.88 MB / 1.053 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008805/1.711, allocations: 0.668 MB / 1.054 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02405/1.735, allocations: 5.043 MB / 1.059 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/1.748, allocations: 342.1 kB / 1.059 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.75, allocations: 175.7 kB / 1.059 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.75, allocations: 4 kB / 1.059 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02756/1.777, allocations: 5.363 MB / 1.064 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/1.777, allocations: 36 kB / 1.064 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.215/1.992, allocations: 11.67 MB / 1.076 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008143/2.001, allocations: 0.6584 MB / 1.077 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03175/2.033, allocations: 8.082 MB / 1.084 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/2.044, allocations: 319.8 kB / 1.085 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/2.045, allocations: 163.9 kB / 1.085 GB, free: 13.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.007132/2.052, allocations: 1.536 MB / 1.086 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002593/2.055, allocations: 462.3 kB / 1.087 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02759/2.083, allocations: 4.87 MB / 1.092 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04635/2.129, allocations: 6.99 MB / 1.098 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/2.129, allocations: 6.516 kB / 1.098 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00471/2.134, allocations: 1.082 MB / 1.099 GB, free: 14.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/2.136, allocations: 28 kB / 1.099 GB, free: 14.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007213/2.143, allocations: 275.2 kB / 1.1 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009467/2.144, allocations: 125.1 kB / 1.1 GB, free: 14.28 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02411/2.168, allocations: 5.399 MB / 1.105 GB, free: 8.867 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01925/2.187, allocations: 6.091 MB / 1.111 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00576/2.193, allocations: 1.962 MB / 1.113 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.008947/2.202, allocations: 3.31 MB / 1.116 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of Backend: time 9.51e-07/2.202, allocations: 5.25 kB / 1.116 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03247/2.235, allocations: 6.203 MB / 1.122 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of SimCode: time 0.04088/2.276, allocations: 12.93 MB / 1.135 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.6832/2.959, allocations: 111 MB / 1.243 GB, free: 187.7 MB / 0.6198 GB