Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001608/0.001608, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001476/0.001476, allocations: 187 kB / 17.34 MB, free: 5.762 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8526/0.8526, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.89 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.172, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.7231/0.8951, allocations: 205.6 MB / 0.8661 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.9171, allocations: 13.57 MB / 0.8794 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.9201, allocations: 59.69 kB / 0.8794 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.9234, allocations: 0.9282 MB / 0.8803 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008317/0.9318, allocations: 2.481 MB / 0.8827 GB, free: 464 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005007/0.9368, allocations: 1.574 MB / 0.8843 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006497/0.9433, allocations: 3.637 MB / 0.8878 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.9463, allocations: 1.382 MB / 0.8892 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005352/0.9517, allocations: 2.012 MB / 0.8911 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003044/0.9548, allocations: 1.141 MB / 0.8923 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006561/0.9554, allocations: 156 kB / 0.8924 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005529/0.961, allocations: 2.401 MB / 0.8948 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009978/0.962, allocations: 0.5842 MB / 0.8953 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.964, allocations: 0.9018 MB / 0.8962 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00687/0.9708, allocations: 3.291 MB / 0.8994 GB, free: 15.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9709, allocations: 0 / 0.8994 GB, free: 15.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9709, allocations: 0 / 0.8994 GB, free: 15.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.765e-05/0.971, allocations: 0 / 0.8994 GB, free: 15.32 MB / 0.67 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.00576/0.9768, allocations: 2.178 MB / 0.9015 GB, free: 13.07 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.9768, allocations: 9.109 kB / 0.9016 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.9799, allocations: 438.8 kB / 0.902 GB, free: 12.64 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003408/0.9833, allocations: 1.393 MB / 0.9033 GB, free: 11.19 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.953e-05/0.9834, allocations: 81.94 kB / 0.9034 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.9838, allocations: 104 kB / 0.9035 GB, free: 11.01 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.9863, allocations: 1.148 MB / 0.9046 GB, free: 9.824 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.9863, allocations: 0 / 0.9046 GB, free: 9.824 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.9864, allocations: 36 kB / 0.9047 GB, free: 9.789 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-05/0.9865, allocations: 46 kB / 0.9047 GB, free: 9.742 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.9885, allocations: 0.8665 MB / 0.9056 GB, free: 8.875 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.007158/0.9957, allocations: 4.925 MB / 0.9104 GB, free: 3.625 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.9974, allocations: 0.7211 MB / 0.9111 GB, free: 2.898 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.9983, allocations: 418.2 kB / 0.9115 GB, free: 2.488 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.9985, allocations: 109.7 kB / 0.9116 GB, free: 2.363 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008864/0.9994, allocations: 454.9 kB / 0.912 GB, free: 1.906 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.966e-06/0.9994, allocations: 0 / 0.912 GB, free: 1.906 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.003188/1.003, allocations: 1.199 MB / 0.9132 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.003, allocations: 59.97 kB / 0.9132 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/1.004, allocations: 1.168 MB / 0.9144 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/1.005, allocations: 49.64 kB / 0.9144 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000603/1.005, allocations: 0.6612 MB / 0.9151 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/1.005, allocations: 236.6 kB / 0.9153 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/1.006, allocations: 174.5 kB / 0.9155 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.006, allocations: 338 kB / 0.9158 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/1.007, allocations: 380.6 kB / 0.9161 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/1.008, allocations: 0.6046 MB / 0.9167 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/1.009, allocations: 0.9634 MB / 0.9177 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.009, allocations: 4.875 kB / 0.9177 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002416/1.012, allocations: 1.209 MB / 0.9189 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/1.012, allocations: 33.7 kB / 0.9189 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.012, allocations: 6.422 kB / 0.9189 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/1.012, allocations: 128.7 kB / 0.919 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/1.013, allocations: 200.2 kB / 0.9192 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008351/1.014, allocations: 1.212 MB / 0.9204 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.015, allocations: 91.41 kB / 0.9205 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/1.015, allocations: 43.98 kB / 0.9205 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001178/1.017, allocations: 0.6307 MB / 0.9211 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007948/1.017, allocations: 0.5721 MB / 0.9217 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001418/1.019, allocations: 0.893 MB / 0.9226 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.205e-06/1.019, allocations: 4 kB / 0.9226 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization_lambda0): time 0.00247/1.021, allocations: 1.15 MB / 0.9237 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/1.021, allocations: 39.41 kB / 0.9237 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.021, allocations: 8 kB / 0.9237 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/1.022, allocations: 149.1 kB / 0.9239 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/1.023, allocations: 179.8 kB / 0.9241 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004516/1.027, allocations: 3.057 MB / 0.927 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.028, allocations: 83.34 kB / 0.9271 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/1.029, allocations: 40.05 kB / 0.9272 GB, free: 1.629 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.0004458/1.029, allocations: 236 kB / 0.9274 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/1.03, allocations: 134.3 kB / 0.9275 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/1.032, allocations: 0.9111 MB / 0.9284 GB, free: 340 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/1.032, allocations: 8 kB / 0.9284 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.032, allocations: 0 / 0.9284 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001619/1.034, allocations: 0.8109 MB / 0.9292 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/1.038, allocations: 2.143 MB / 0.9313 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/1.038, allocations: 4 kB / 0.9313 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/1.039, allocations: 155.8 kB / 0.9315 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002861/1.039, allocations: 80.94 kB / 0.9315 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/1.039, allocations: 27.92 kB / 0.9316 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007199/1.04, allocations: 1.189 MB / 0.9327 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.04, allocations: 8.047 kB / 0.9327 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/1.043, allocations: 1.385 MB / 0.9341 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006492/1.043, allocations: 287.2 kB / 0.9343 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/1.044, allocations: 23.98 kB / 0.9344 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008497/1.045, allocations: 33.92 kB / 0.9344 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.045, allocations: 52.48 kB / 0.9345 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/1.045, allocations: 23.98 kB / 0.9345 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001382/1.046, allocations: 0.7992 MB / 0.9353 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/1.046, allocations: 0 / 0.9353 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00261/1.049, allocations: 0.7794 MB / 0.936 GB, free: 8.32 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/1.05, allocations: 404.1 kB / 0.9364 GB, free: 7.918 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003584/1.054, allocations: 1.589 MB / 0.938 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.054, allocations: 0 / 0.938 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009034/1.055, allocations: 396.2 kB / 0.9383 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/1.058, allocations: 0.6709 MB / 0.939 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/1.063, allocations: 2.607 MB / 0.9415 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.065, allocations: 1.276 MB / 0.9428 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/1.065, allocations: 111.4 kB / 0.9429 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of SimCode: time 2.003e-06/1.065, allocations: 0 / 0.9429 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of Templates: time 0.05143/1.117, allocations: 36.86 MB / 0.9789 GB, free: 12.47 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)