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.0009333/0.0009333, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009288/0.0009289, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.838/0.838, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002799, allocations: 8 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.4003/0.5437, allocations: 170.2 MB / 0.7534 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.5585, allocations: 12.15 MB / 0.7653 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.5599, allocations: 51.62 kB / 0.7653 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.5618, allocations: 0.7154 MB / 0.766 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005145/0.567, allocations: 2.126 MB / 0.7681 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.5703, allocations: 1.379 MB / 0.7694 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003287/0.5736, allocations: 2.112 MB / 0.7715 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.575, allocations: 1.053 MB / 0.7725 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.5777, allocations: 1.464 MB / 0.774 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000928/0.5786, allocations: 0.7429 MB / 0.7747 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.5788, allocations: 60 kB / 0.7747 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.5811, allocations: 1.155 MB / 0.7759 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.5815, allocations: 454.5 kB / 0.7763 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.5818, allocations: 344.8 kB / 0.7766 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.5839, allocations: 2.14 MB / 0.7787 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.5839, allocations: 0 / 0.7787 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.584, allocations: 0 / 0.7787 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.584, allocations: 4 kB / 0.7787 GB, free: 8.324 MB / 0.5919 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.003171/0.5872, allocations: 1.868 MB / 0.7805 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5872, allocations: 8.031 kB / 0.7805 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.5896, allocations: 445.4 kB / 0.781 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.5918, allocations: 1.312 MB / 0.7823 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.292e-05/0.5919, allocations: 78 kB / 0.7823 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5921, allocations: 111.9 kB / 0.7824 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.5939, allocations: 1.134 MB / 0.7835 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.594, allocations: 3.938 kB / 0.7835 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.103e-05/0.5941, allocations: 40 kB / 0.7836 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.5941, allocations: 41.98 kB / 0.7836 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.5958, allocations: 0.8822 MB / 0.7845 GB, free: 2.27 MB / 0.5919 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.005675/0.6015, allocations: 4.858 MB / 0.7892 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.603, allocations: 0.7382 MB / 0.79 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/0.6031, allocations: 16.94 kB / 0.79 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007568/0.6038, allocations: 452.2 kB / 0.7904 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003662/0.6042, allocations: 83.34 kB / 0.7905 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.324e-06/0.6042, allocations: 0 / 0.7905 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002601/0.6068, allocations: 1.211 MB / 0.7917 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.6069, allocations: 59.97 kB / 0.7917 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.6081, allocations: 1.144 MB / 0.7928 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.6082, allocations: 41.7 kB / 0.7929 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/0.6087, allocations: 0.6651 MB / 0.7935 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.6089, allocations: 252.5 kB / 0.7938 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.6089, allocations: 12 kB / 0.7938 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.609, allocations: 338 kB / 0.7941 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/0.6097, allocations: 317.8 kB / 0.7944 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/0.6104, allocations: 0.5487 MB / 0.7949 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.6111, allocations: 412.8 kB / 0.7953 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6111, allocations: 4 kB / 0.7953 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001773/0.6129, allocations: 1.076 MB / 0.7964 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007172/0.6136, allocations: 2.172 MB / 0.7985 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6137, allocations: 4 kB / 0.7985 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.614, allocations: 85.53 kB / 0.7986 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/0.6149, allocations: 208.7 kB / 0.7988 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007092/0.6156, allocations: 1.21 MB / 0.8 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000922/0.6165, allocations: 93.55 kB / 0.8001 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.6166, allocations: 47.98 kB / 0.8001 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.6166, allocations: 4 kB / 0.8001 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001778/0.6184, allocations: 1.009 MB / 0.8011 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6184, allocations: 11.94 kB / 0.8011 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.6189, allocations: 153.1 kB / 0.8013 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/0.6196, allocations: 183.7 kB / 0.8014 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.6235, allocations: 2.896 MB / 0.8043 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.6244, allocations: 87.83 kB / 0.8043 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/0.6245, allocations: 43.98 kB / 0.8044 GB, free: 12.95 MB / 0.6231 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 (98): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0006202/0.6251, allocations: 468.9 kB / 0.8048 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.6253, allocations: 138.3 kB / 0.805 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.6271, allocations: 0.9251 MB / 0.8059 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.6271, allocations: 4 kB / 0.8059 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.6271, allocations: 0 / 0.8059 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001434/0.6285, allocations: 0.8093 MB / 0.8067 GB, free: 10.56 MB / 0.6231 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 postOpt removeSimpleEquations (simulation): time 0.003417/0.632, allocations: 2.241 MB / 0.8089 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.632, allocations: 0 / 0.8089 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/0.6327, allocations: 160 kB / 0.809 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/0.6329, allocations: 80.8 kB / 0.8091 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.633, allocations: 19.98 kB / 0.8091 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006162/0.6336, allocations: 1.193 MB / 0.8103 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.6336, allocations: 3.969 kB / 0.8103 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.6359, allocations: 1.43 MB / 0.8117 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.6363, allocations: 271.4 kB / 0.8119 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.6364, allocations: 23.98 kB / 0.8119 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.6372, allocations: 79.92 kB / 0.812 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.6373, allocations: 56.42 kB / 0.8121 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.6374, allocations: 27.98 kB / 0.8121 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00104/0.6384, allocations: 0.7758 MB / 0.8129 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6384, allocations: 0 / 0.8129 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002001/0.6404, allocations: 0.795 MB / 0.8136 GB, free: 3.184 MB / 0.6231 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008605/0.6413, allocations: 403.7 kB / 0.814 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002599/0.6439, allocations: 1.533 MB / 0.8155 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6439, allocations: 0.875 kB / 0.8155 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.6447, allocations: 399 kB / 0.8159 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.647, allocations: 0.6239 MB / 0.8165 GB, free: 232 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.6511, allocations: 3.106 MB / 0.8195 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008804/0.652, allocations: 1.312 MB / 0.8208 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001098/0.6531, allocations: 327.2 kB / 0.8211 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.6534, allocations: 111.4 kB / 0.8212 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.6534, allocations: 0 / 0.8212 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of Templates: time 0.03749/0.6909, allocations: 27.08 MB / 0.8477 GB, free: 0.5625 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: