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.001653/0.001653, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001571/0.001571, allocations: 183 kB / 17.34 MB, free: 5.766 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8044/0.8044, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001906, allocations: 62.06 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1744, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.6023/0.7767, allocations: 205.6 MB / 0.8611 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.7971, allocations: 13.58 MB / 0.8744 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.7997, allocations: 55.69 kB / 0.8744 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003176/0.8029, allocations: 0.9243 MB / 0.8754 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007417/0.8103, allocations: 2.477 MB / 0.8778 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004571/0.8149, allocations: 1.578 MB / 0.8793 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005915/0.8209, allocations: 3.637 MB / 0.8829 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002753/0.8237, allocations: 1.387 MB / 0.8842 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.8286, allocations: 2.008 MB / 0.8862 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.8314, allocations: 1.136 MB / 0.8873 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006273/0.832, allocations: 164 kB / 0.8874 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005/0.837, allocations: 2.401 MB / 0.8898 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009683/0.838, allocations: 0.5764 MB / 0.8904 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.8398, allocations: 0.9019 MB / 0.8912 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006626/0.8465, allocations: 3.295 MB / 0.8945 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.8465, allocations: 4 kB / 0.8945 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8465, allocations: 0 / 0.8945 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.371e-05/0.8466, allocations: 0 / 0.8945 GB, free: 5.988 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.005217/0.8518, allocations: 2.174 MB / 0.8966 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8519, allocations: 11.97 kB / 0.8966 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.855, allocations: 441.4 kB / 0.897 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.8582, allocations: 1.377 MB / 0.8984 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-05/0.8584, allocations: 81.94 kB / 0.8984 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.8587, allocations: 104 kB / 0.8985 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.8614, allocations: 1.152 MB / 0.8997 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.8614, allocations: 0 / 0.8997 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.8616, allocations: 43.98 kB / 0.8997 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.8616, allocations: 37.98 kB / 0.8997 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.8639, allocations: 0.8744 MB / 0.9006 GB, free: 15.55 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.007842/0.8718, allocations: 4.929 MB / 0.9054 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.8736, allocations: 0.7168 MB / 0.9061 GB, free: 9.57 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008921/0.8745, allocations: 414.3 kB / 0.9065 GB, free: 9.164 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.8748, allocations: 110 kB / 0.9066 GB, free: 9.039 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.8758, allocations: 453.1 kB / 0.907 GB, free: 8.586 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 3.367e-06/0.8758, allocations: 0 / 0.907 GB, free: 8.586 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.003298/0.8791, allocations: 1.206 MB / 0.9082 GB, free: 7.355 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.8792, allocations: 63.95 kB / 0.9083 GB, free: 7.281 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.8812, allocations: 1.168 MB / 0.9094 GB, free: 6.098 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.8814, allocations: 45.64 kB / 0.9095 GB, free: 6.047 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006508/0.882, allocations: 0.6652 MB / 0.9101 GB, free: 5.375 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.8823, allocations: 228.7 kB / 0.9103 GB, free: 5.148 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/0.8827, allocations: 174.5 kB / 0.9105 GB, free: 4.973 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8829, allocations: 337.9 kB / 0.9108 GB, free: 4.637 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.8837, allocations: 380.6 kB / 0.9112 GB, free: 4.262 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.8848, allocations: 0.5956 MB / 0.9118 GB, free: 3.57 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.8866, allocations: 0.9711 MB / 0.9127 GB, free: 2.523 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.8866, allocations: 0 / 0.9127 GB, free: 2.523 MB / 0.67 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002555/0.8892, allocations: 1.213 MB / 0.9139 GB, free: 1.293 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.8892, allocations: 33.7 kB / 0.9139 GB, free: 1.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.8893, allocations: 4 kB / 0.9139 GB, free: 1.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/0.8897, allocations: 117.3 kB / 0.914 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/0.8907, allocations: 205.5 kB / 0.9142 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009208/0.8916, allocations: 1.212 MB / 0.9154 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.8928, allocations: 95.28 kB / 0.9155 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.8929, allocations: 47.98 kB / 0.9156 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.8942, allocations: 0.6346 MB / 0.9162 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008824/0.8951, allocations: 0.5643 MB / 0.9167 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001603/0.8967, allocations: 0.8931 MB / 0.9176 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-06/0.8967, allocations: 0 / 0.9176 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization_lambda0): time 0.002485/0.8992, allocations: 1.154 MB / 0.9187 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.8993, allocations: 37.7 kB / 0.9188 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8993, allocations: 8 kB / 0.9188 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.8999, allocations: 150 kB / 0.9189 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/0.9007, allocations: 179.7 kB / 0.9191 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004654/0.9053, allocations: 3.055 MB / 0.9221 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.9066, allocations: 79.34 kB / 0.9221 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.9068, allocations: 40 kB / 0.9222 GB, free: 8.328 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.0003831/0.9072, allocations: 240 kB / 0.9224 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.9075, allocations: 134.3 kB / 0.9225 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.9099, allocations: 0.9111 MB / 0.9234 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.91, allocations: 4 kB / 0.9234 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.91, allocations: 11.98 kB / 0.9234 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/0.9116, allocations: 0.803 MB / 0.9242 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00451/0.9162, allocations: 2.158 MB / 0.9263 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.9162, allocations: 0 / 0.9263 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/0.917, allocations: 151.8 kB / 0.9265 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.9173, allocations: 84.88 kB / 0.9266 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.9174, allocations: 27.88 kB / 0.9266 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007506/0.9182, allocations: 1.189 MB / 0.9277 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.9182, allocations: 7.969 kB / 0.9278 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.921, allocations: 1.381 MB / 0.9291 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/0.9217, allocations: 287.2 kB / 0.9294 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.9219, allocations: 20 kB / 0.9294 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008301/0.9228, allocations: 35.91 kB / 0.9294 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.9229, allocations: 48.5 kB / 0.9295 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.923, allocations: 23.98 kB / 0.9295 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001374/0.9244, allocations: 0.7992 MB / 0.9303 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9244, allocations: 0 / 0.9303 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002225/0.9266, allocations: 0.7795 MB / 0.931 GB, free: 15 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.001099/0.9277, allocations: 410.6 kB / 0.9314 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003539/0.9313, allocations: 1.597 MB / 0.933 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9313, allocations: 0 / 0.933 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009849/0.9323, allocations: 395.8 kB / 0.9334 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/0.9356, allocations: 0.6701 MB / 0.934 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.9405, allocations: 2.612 MB / 0.9366 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9417, allocations: 1.272 MB / 0.9378 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.9422, allocations: 107.4 kB / 0.9379 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of SimCode: time 1.553e-06/0.9422, allocations: 0 / 0.9379 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of Templates: time 0.0473/0.9895, allocations: 36.87 MB / 0.9739 GB, free: 3.176 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)