Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.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.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003762/0.003762, allocations: 356.5 kB / 16.59 MB, free: 5.562 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.508/1.508, allocations: 165.8 MB / 183.1 MB, free: 5.535 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.981/3.981, allocations: 410.7 MB / 0.6001 GB, free: 15.19 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.001749/0.001749, allocations: 193.5 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004783, allocations: 12 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3949, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 0.9493/1.344, allocations: 330.3 MB / 1.131 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.6439/1.988, allocations: 48.55 MB / 1.179 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007424/1.996, allocations: 150.8 kB / 1.179 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.01061/2.006, allocations: 2.29 MB / 1.181 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.03054/2.037, allocations: 8.192 MB / 1.189 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0208/2.058, allocations: 5.29 MB / 1.194 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02486/2.083, allocations: 14.99 MB / 1.209 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008478/2.091, allocations: 3.36 MB / 1.212 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01772/2.109, allocations: 5.519 MB / 1.218 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/2.119, allocations: 4.1 MB / 1.222 GB, free: 7.613 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.002164/2.121, allocations: 238.6 kB / 1.222 GB, free: 7.613 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01316/2.134, allocations: 2.781 MB / 1.225 GB, free: 7.551 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.004742/2.139, allocations: 2.295 MB / 1.227 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004075/2.143, allocations: 1.346 MB / 1.228 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01526/2.159, allocations: 8.206 MB / 1.236 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/2.159, allocations: 3.984 kB / 1.236 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/2.159, allocations: 6.844 kB / 1.236 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003416/2.159, allocations: 0 / 1.236 GB, free: 2.473 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.02308/2.182, allocations: 6.783 MB / 1.243 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/2.182, allocations: 12.12 kB / 1.243 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/2.196, allocations: 1.455 MB / 1.244 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/2.214, allocations: 5.873 MB / 1.25 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/2.214, allocations: 254.7 kB / 1.25 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/2.216, allocations: 346.2 kB / 1.25 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/2.228, allocations: 4.131 MB / 1.255 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/2.228, allocations: 2.625 kB / 1.255 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005123/2.228, allocations: 126.3 kB / 1.255 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/2.229, allocations: 109.6 kB / 1.255 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009801/2.238, allocations: 2.999 MB / 1.258 GB, free: 8.301 MB / 0.6198 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.03983/2.278, allocations: 17.95 MB / 1.275 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007436/2.286, allocations: 2.345 MB / 1.278 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003723/2.289, allocations: 1.271 MB / 1.279 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005387/2.29, allocations: 224.4 kB / 1.279 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004518/2.295, allocations: 1.802 MB / 1.281 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003622/2.298, allocations: 370.3 kB / 1.281 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=176): time 1.076e-05/2.298, allocations: 4 kB / 1.281 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=176): time 0.01466/2.313, allocations: 3.978 MB / 1.285 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/2.313, allocations: 157.2 kB / 1.285 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/2.327, allocations: 5.673 MB / 1.291 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0008329/2.328, allocations: 81.81 kB / 1.291 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.003816/2.331, allocations: 2.62 MB / 1.293 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/2.333, allocations: 0.615 MB / 1.294 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/2.333, allocations: 52.19 kB / 1.294 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003139/2.333, allocations: 420.6 kB / 1.294 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/2.337, allocations: 1.373 MB / 1.296 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005116/2.342, allocations: 2.586 MB / 1.298 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004805/2.347, allocations: 1.725 MB / 1.3 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-05/2.347, allocations: 12 kB / 1.3 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01305/2.36, allocations: 4.478 MB / 1.304 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009015/2.361, allocations: 1.027 MB / 1.305 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.819e-05/2.361, allocations: 35.98 kB / 1.305 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/2.363, allocations: 296.2 kB / 1.306 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006179/2.369, allocations: 0.6323 MB / 1.306 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/2.374, allocations: 3.779 MB / 1.31 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/2.382, allocations: 312.7 kB / 1.31 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009571/2.383, allocations: 224 kB / 1.31 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/2.383, allocations: 0 / 1.31 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01308/2.396, allocations: 4.863 MB / 1.315 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/2.396, allocations: 29 kB / 1.315 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/2.399, allocations: 0.6898 MB / 1.316 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/2.404, allocations: 0.623 MB / 1.316 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/2.423, allocations: 8.749 MB / 1.325 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007518/2.431, allocations: 322.1 kB / 1.325 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008935/2.432, allocations: 195.8 kB / 1.326 GB, free: 2.324 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 310 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.004362/2.436, allocations: 1.532 MB / 1.327 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00163/2.438, allocations: 0.5168 MB / 1.328 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009147/2.447, allocations: 3.076 MB / 1.331 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006753/2.454, allocations: 2.68 MB / 1.333 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/2.454, allocations: 0 / 1.333 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003258/2.457, allocations: 0.8015 MB / 1.334 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/2.458, allocations: 44.64 kB / 1.334 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005495/2.464, allocations: 248.4 kB / 1.334 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/2.464, allocations: 136.6 kB / 1.334 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0102/2.475, allocations: 2.87 MB / 1.337 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01089/2.486, allocations: 4.301 MB / 1.341 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002804/2.488, allocations: 1.087 MB / 1.342 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.009634/2.498, allocations: 3.881 MB / 1.346 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of Backend: time 2.004e-06/2.498, allocations: 0 / 1.346 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02386/2.522, allocations: 6.348 MB / 1.352 GB, free: 14.7 MB / 0.698 GB Notification: Performance of SimCode: time 0.04502/2.567, allocations: 14.66 MB / 1.367 GB, free: 1.375 MB / 0.698 GB Notification: Performance of Templates: time 0.7253/3.292, allocations: 133.2 MB / 1.497 GB, free: 339.5 MB / 0.7605 GB