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.0009181/0.0009182, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001019/0.001019, allocations: 172.7 kB / 15.95 MB, free: 208 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.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.3 MB / 426.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 8 kB / 0.507 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2015, allocations: 82.3 MB / 0.5874 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.5839/0.7854, allocations: 187.2 MB / 0.7702 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.8058, allocations: 12.64 MB / 0.7825 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.8085, allocations: 47.69 kB / 0.7826 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.811, allocations: 0.5939 MB / 0.7832 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006553/0.8176, allocations: 1.824 MB / 0.785 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.8215, allocations: 1.153 MB / 0.7861 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006164/0.8276, allocations: 4.073 MB / 0.7901 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.8298, allocations: 1.033 MB / 0.7911 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.8341, allocations: 1.552 MB / 0.7926 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.8361, allocations: 1.066 MB / 0.7936 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.8364, allocations: 60 kB / 0.7937 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.8402, allocations: 1.446 MB / 0.7951 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006818/0.8409, allocations: 490.3 kB / 0.7956 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006628/0.8416, allocations: 348.8 kB / 0.7959 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.8451, allocations: 2.287 MB / 0.7981 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.8451, allocations: 0 / 0.7981 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8451, allocations: 3.938 kB / 0.7981 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.468e-05/0.8451, allocations: 0 / 0.7981 GB, free: 5.156 MB / 0.6075 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.003579/0.8487, allocations: 1.907 MB / 0.8 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.8488, allocations: 12.02 kB / 0.8 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.8513, allocations: 445.4 kB / 0.8004 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.8538, allocations: 1.293 MB / 0.8017 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.8539, allocations: 78 kB / 0.8018 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.854, allocations: 104 kB / 0.8019 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.8562, allocations: 1.151 MB / 0.803 GB, free: 40 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.8562, allocations: 0 / 0.803 GB, free: 40 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.8564, allocations: 44.05 kB / 0.803 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.8564, allocations: 41.88 kB / 0.8031 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.8582, allocations: 0.8978 MB / 0.8039 GB, free: 15.05 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 preOpt removeSimpleEquations (simulation): time 0.006668/0.8649, allocations: 4.885 MB / 0.8087 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.8665, allocations: 0.7448 MB / 0.8094 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.8673, allocations: 426.3 kB / 0.8098 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.8675, allocations: 102 kB / 0.8099 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008625/0.8684, allocations: 478.8 kB / 0.8104 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00048/0.8689, allocations: 79.34 kB / 0.8105 GB, free: 8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 2.725e-06/0.8689, allocations: 4 kB / 0.8105 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.002757/0.8717, allocations: 1.226 MB / 0.8117 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.8717, allocations: 59.97 kB / 0.8117 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.8732, allocations: 1.16 MB / 0.8129 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.8733, allocations: 41.7 kB / 0.8129 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/0.8738, allocations: 0.6535 MB / 0.8135 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.874, allocations: 244.4 kB / 0.8138 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.8741, allocations: 20 kB / 0.8138 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8742, allocations: 345.9 kB / 0.8141 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.8749, allocations: 321.8 kB / 0.8144 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/0.8757, allocations: 0.5643 MB / 0.815 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007488/0.8764, allocations: 416.8 kB / 0.8154 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.8764, allocations: 4 kB / 0.8154 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002014/0.8785, allocations: 1.099 MB / 0.8165 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.8787, allocations: 284.9 kB / 0.8167 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.8787, allocations: 4.875 kB / 0.8167 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.8791, allocations: 84.78 kB / 0.8168 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008618/0.88, allocations: 209.6 kB / 0.817 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000769/0.8807, allocations: 1.22 MB / 0.8182 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.8818, allocations: 91.98 kB / 0.8183 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.8819, allocations: 43.98 kB / 0.8183 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.8819, allocations: 4 kB / 0.8183 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001897/0.8838, allocations: 1.033 MB / 0.8194 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.8839, allocations: 4 kB / 0.8194 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004992/0.8844, allocations: 150 kB / 0.8195 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/0.8851, allocations: 195.7 kB / 0.8197 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.889, allocations: 2.775 MB / 0.8224 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.8901, allocations: 83.84 kB / 0.8225 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.8902, allocations: 43.98 kB / 0.8225 GB, free: 11.12 MB / 0.6387 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.0007559/0.891, allocations: 463.4 kB / 0.823 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.8912, allocations: 134.3 kB / 0.8231 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.8931, allocations: 0.9368 MB / 0.824 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.8931, allocations: 11.98 kB / 0.824 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.8931, allocations: 0 / 0.824 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/0.8946, allocations: 0.8249 MB / 0.8248 GB, free: 8.707 MB / 0.6387 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.003762/0.8984, allocations: 2.273 MB / 0.827 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.8984, allocations: 0 / 0.827 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007689/0.8992, allocations: 156 kB / 0.8272 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002524/0.8994, allocations: 84.73 kB / 0.8273 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.8995, allocations: 19.98 kB / 0.8273 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006859/0.9002, allocations: 1.201 MB / 0.8285 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.9002, allocations: 4.031 kB / 0.8285 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.9026, allocations: 1.391 MB / 0.8298 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.9031, allocations: 275.4 kB / 0.8301 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.9033, allocations: 20 kB / 0.8301 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.904, allocations: 87.84 kB / 0.8302 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.9042, allocations: 48.45 kB / 0.8302 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.9042, allocations: 31.98 kB / 0.8303 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001145/0.9054, allocations: 0.7914 MB / 0.831 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9054, allocations: 0 / 0.831 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002079/0.9075, allocations: 0.7872 MB / 0.8318 GB, free: 1.352 MB / 0.6387 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.0009553/0.9085, allocations: 410.8 kB / 0.8322 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.9116, allocations: 1.568 MB / 0.8337 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9116, allocations: 0 / 0.8337 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008202/0.9124, allocations: 411.8 kB / 0.8341 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.9151, allocations: 0.6383 MB / 0.8347 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.9196, allocations: 3.107 MB / 0.8378 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.9204, allocations: 1.277 MB / 0.839 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001501/0.922, allocations: 331.2 kB / 0.8393 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.9222, allocations: 99.42 kB / 0.8394 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/0.9222, allocations: 0 / 0.8394 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of Templates: time 0.3714/1.294, allocations: 27.36 MB / 0.8662 GB, free: 215.8 MB / 0.67 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)