Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.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.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002531/0.00253, allocations: 357.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.532/1.532, allocations: 165.8 MB / 183.1 MB, free: 5.418 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.871/3.871, allocations: 410.7 MB / 0.6001 GB, free: 15.14 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.0018/0.0018, allocations: 200.7 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006736/0.0006738, allocations: 15.98 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4087, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.ClosedLoop_y): time 0.7514/1.16, allocations: 184.4 MB / 0.9888 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.03516/1.195, allocations: 15.44 MB / 1.004 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/1.198, allocations: 46.88 kB / 1.004 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003324/1.201, allocations: 0.6767 MB / 1.005 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009221/1.21, allocations: 2.239 MB / 1.007 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009809/1.22, allocations: 2.388 MB / 1.009 GB, free: 11.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006927/1.227, allocations: 4.1 MB / 1.013 GB, free: 9.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/1.23, allocations: 1.046 MB / 1.014 GB, free: 9.316 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004631/1.234, allocations: 1.489 MB / 1.016 GB, free: 8.742 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/1.237, allocations: 1.069 MB / 1.017 GB, free: 8.328 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003677/1.237, allocations: 60.5 kB / 1.017 GB, free: 8.328 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004402/1.242, allocations: 1.209 MB / 1.018 GB, free: 7.977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/1.243, allocations: 494 kB / 1.018 GB, free: 7.758 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006769/1.243, allocations: 354.8 kB / 1.019 GB, free: 7.672 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004588/1.248, allocations: 2.245 MB / 1.021 GB, free: 6.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.248, allocations: 4 kB / 1.021 GB, free: 6.516 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.824e-06/1.248, allocations: 0 / 1.021 GB, free: 6.516 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.182e-05/1.248, allocations: 6.781 kB / 1.021 GB, free: 6.512 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005647/1.254, allocations: 1.903 MB / 1.023 GB, free: 5.113 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.254, allocations: 8.031 kB / 1.023 GB, free: 5.105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/1.258, allocations: 451.1 kB / 1.023 GB, free: 4.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/1.263, allocations: 1.279 MB / 1.024 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/1.263, allocations: 87.62 kB / 1.025 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/1.263, allocations: 103.1 kB / 1.025 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/1.266, allocations: 1.176 MB / 1.026 GB, free: 2.699 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/1.266, allocations: 3.953 kB / 1.026 GB, free: 2.695 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/1.267, allocations: 42.62 kB / 1.026 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/1.267, allocations: 34 kB / 1.026 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/1.27, allocations: 0.8943 MB / 1.027 GB, free: 2.047 MB / 490.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.01008/1.28, allocations: 4.881 MB / 1.032 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/1.283, allocations: 0.7934 MB / 1.032 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/1.284, allocations: 425.2 kB / 1.033 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/1.285, allocations: 104.3 kB / 1.033 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/1.286, allocations: 478.7 kB / 1.033 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009275/1.287, allocations: 74.53 kB / 1.033 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=69): time 5.471e-06/1.287, allocations: 4 kB / 1.033 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69): time 0.005565/1.293, allocations: 1.24 MB / 1.035 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/1.293, allocations: 137.1 kB / 1.035 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/1.295, allocations: 1.173 MB / 1.036 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003434/1.296, allocations: 45.64 kB / 1.036 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.297, allocations: 0.6659 MB / 1.037 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/1.297, allocations: 237.3 kB / 1.037 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.297, allocations: 26.44 kB / 1.037 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002165/1.298, allocations: 344.6 kB / 1.037 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.299, allocations: 337.6 kB / 1.037 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/1.301, allocations: 0.5977 MB / 1.038 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/1.303, allocations: 451.2 kB / 1.038 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/1.303, allocations: 4 kB / 1.038 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00545/1.309, allocations: 1.163 MB / 1.04 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003183/1.309, allocations: 275.4 kB / 1.04 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/1.309, allocations: 12 kB / 1.04 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008014/1.31, allocations: 92.55 kB / 1.04 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/1.313, allocations: 198.5 kB / 1.04 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/1.314, allocations: 1.225 MB / 1.041 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/1.317, allocations: 87.5 kB / 1.041 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/1.317, allocations: 46.44 kB / 1.041 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.317, allocations: 4 kB / 1.041 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0048/1.322, allocations: 1.078 MB / 1.042 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/1.322, allocations: 4 kB / 1.042 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/1.324, allocations: 157 kB / 1.043 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.326, allocations: 175 kB / 1.043 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009112/1.335, allocations: 2.82 MB / 1.046 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/1.337, allocations: 91.39 kB / 1.046 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.338, allocations: 42.12 kB / 1.046 GB, free: 1.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001495/1.339, allocations: 467.3 kB / 1.046 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/1.34, allocations: 138.3 kB / 1.046 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/1.344, allocations: 0.9435 MB / 1.047 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003646/1.348, allocations: 0.8448 MB / 1.048 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.348, allocations: 0 / 1.048 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.349, allocations: 269.1 kB / 1.048 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/1.35, allocations: 18.92 kB / 1.048 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.352, allocations: 78.34 kB / 1.048 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.352, allocations: 58.7 kB / 1.048 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005919/1.358, allocations: 0.9775 MB / 1.049 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006085/1.364, allocations: 1.398 MB / 1.051 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001646/1.366, allocations: 355.6 kB / 1.051 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002339/1.368, allocations: 0.7953 MB / 1.052 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of Backend: time 9.72e-07/1.368, allocations: 0 / 1.052 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00967/1.378, allocations: 1.968 MB / 1.054 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of SimCode: time 0.01436/1.392, allocations: 3.997 MB / 1.058 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.1226/1.515, allocations: 32.94 MB / 1.09 GB, free: 6.59 MB / 0.5417 GB