Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001309, allocations: 110.5 kB / 16.42 MB, free: 6.461 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.001014/0.001014, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7744/0.7744, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 58.66 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1256, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.5006/0.6263, allocations: 205.6 MB / 0.8611 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.6437, allocations: 13.57 MB / 0.8744 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.6455, allocations: 59.62 kB / 0.8745 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.648, allocations: 0.9477 MB / 0.8754 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006022/0.6541, allocations: 2.574 MB / 0.8779 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.6576, allocations: 1.571 MB / 0.8794 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004212/0.6619, allocations: 3.646 MB / 0.883 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.6637, allocations: 1.386 MB / 0.8843 GB, free: 432 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.6674, allocations: 2.047 MB / 0.8863 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.6694, allocations: 1.136 MB / 0.8875 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.6697, allocations: 156 kB / 0.8876 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004028/0.6737, allocations: 2.401 MB / 0.8899 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006328/0.6744, allocations: 0.5921 MB / 0.8905 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.6755, allocations: 0.898 MB / 0.8914 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.6799, allocations: 3.291 MB / 0.8946 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6799, allocations: 0 / 0.8946 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6799, allocations: 0 / 0.8946 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.162e-05/0.68, allocations: 0 / 0.8946 GB, free: 5.875 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004034/0.684, allocations: 2.178 MB / 0.8967 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.6841, allocations: 12.03 kB / 0.8968 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.6868, allocations: 437.4 kB / 0.8972 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.6894, allocations: 1.385 MB / 0.8985 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.6895, allocations: 81.94 kB / 0.8986 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.6896, allocations: 104 kB / 0.8987 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.6916, allocations: 1.149 MB / 0.8998 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6917, allocations: 0 / 0.8998 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6918, allocations: 47.98 kB / 0.8999 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.6918, allocations: 34 kB / 0.8999 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6936, allocations: 0.8783 MB / 0.9008 GB, free: 15.43 MB / 0.67 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.005928/0.6996, allocations: 4.921 MB / 0.9056 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.7013, allocations: 0.7249 MB / 0.9063 GB, free: 9.449 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008098/0.7021, allocations: 414.3 kB / 0.9067 GB, free: 9.043 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.7023, allocations: 101.7 kB / 0.9068 GB, free: 8.926 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008535/0.7032, allocations: 458.9 kB / 0.9072 GB, free: 8.465 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/0.7032, allocations: 0 / 0.9072 GB, free: 8.465 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.002975/0.7062, allocations: 1.207 MB / 0.9084 GB, free: 7.234 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.7062, allocations: 63.95 kB / 0.9084 GB, free: 7.16 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.7077, allocations: 1.168 MB / 0.9096 GB, free: 5.977 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.7078, allocations: 49.64 kB / 0.9096 GB, free: 5.922 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.7083, allocations: 0.6535 MB / 0.9103 GB, free: 5.262 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.7085, allocations: 232.6 kB / 0.9105 GB, free: 5.031 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.7088, allocations: 182.5 kB / 0.9107 GB, free: 4.848 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7089, allocations: 334 kB / 0.911 GB, free: 4.516 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/0.7097, allocations: 376.7 kB / 0.9113 GB, free: 4.145 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008933/0.7106, allocations: 0.5994 MB / 0.9119 GB, free: 3.449 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.7122, allocations: 0.9673 MB / 0.9129 GB, free: 2.406 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7123, allocations: 4 kB / 0.9129 GB, free: 2.402 MB / 0.67 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002197/0.7145, allocations: 1.209 MB / 0.9141 GB, free: 1.176 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.7145, allocations: 33.7 kB / 0.9141 GB, free: 1.137 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.7145, allocations: 8 kB / 0.9141 GB, free: 1.129 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.715, allocations: 117.6 kB / 0.9142 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/0.7159, allocations: 199.7 kB / 0.9144 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008656/0.7167, allocations: 1.218 MB / 0.9156 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009413/0.7177, allocations: 95.19 kB / 0.9157 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.7178, allocations: 40.14 kB / 0.9157 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001025/0.7188, allocations: 0.6425 MB / 0.9163 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007745/0.7196, allocations: 0.5604 MB / 0.9169 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001377/0.721, allocations: 0.8978 MB / 0.9178 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.881e-06/0.721, allocations: 4 kB / 0.9178 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization_lambda0): time 0.002146/0.7232, allocations: 1.15 MB / 0.9189 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.7232, allocations: 33.7 kB / 0.9189 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.7232, allocations: 7.984 kB / 0.9189 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/0.7238, allocations: 157.1 kB / 0.9191 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.7245, allocations: 171.8 kB / 0.9192 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.7288, allocations: 3.058 MB / 0.9222 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008925/0.7297, allocations: 83.34 kB / 0.9223 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.7298, allocations: 40 kB / 0.9224 GB, free: 8.203 MB / 0.6856 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.73, allocations: 242.2 kB / 0.9226 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.7302, allocations: 134.3 kB / 0.9227 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.7322, allocations: 0.9072 MB / 0.9236 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001565/0.7338, allocations: 0.8031 MB / 0.9244 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.7338, allocations: 3.984 kB / 0.9244 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/0.7342, allocations: 279.3 kB / 0.9247 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.7344, allocations: 19.94 kB / 0.9247 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/0.735, allocations: 35.88 kB / 0.9247 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7352, allocations: 56.48 kB / 0.9248 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002339/0.7375, allocations: 0.9258 MB / 0.9257 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002259/0.7398, allocations: 1.367 MB / 0.927 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006374/0.7404, allocations: 336.3 kB / 0.9273 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001026/0.7415, allocations: 0.8031 MB / 0.9281 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of Backend: time 1.863e-06/0.7415, allocations: 96 / 0.9281 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004416/0.7459, allocations: 1.993 MB / 0.93 GB, free: 188 kB / 0.6856 GB Notification: Performance of SimCode: time 0.005216/0.7511, allocations: 3.392 MB / 0.9334 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of Templates: time 0.05444/0.8056, allocations: 35.9 MB / 0.9684 GB, free: 9.148 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)