Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 173.7 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7925/0.7925, allocations: 133.6 MB / 141.6 MB, free: 2.941 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 100.7 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.72e-05, allocations: 4 kB / 0.5535 GB, free: 9.051 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4679, allocations: 82.3 MB / 0.6338 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.645/5.113, allocations: 1.88 GB / 2.514 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/5.113, allocations: 90.33 kB / 2.514 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.64/7.754, allocations: 0.7001 GB / 3.214 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.383e-06/7.754, allocations: 0 / 3.214 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000305/7.754, allocations: 41.75 kB / 3.214 GB, free: 118.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.009023/7.763, allocations: 2.547 MB / 3.217 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/7.763, allocations: 15.14 kB / 3.217 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/7.768, allocations: 0.4889 MB / 3.217 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007971/7.776, allocations: 2.796 MB / 3.22 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.957e-05/7.777, allocations: 25.91 kB / 3.22 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/7.778, allocations: 96.94 kB / 3.22 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003388/7.782, allocations: 1.819 MB / 3.222 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/7.785, allocations: 1.541 MB / 3.224 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/7.785, allocations: 2.625 kB / 3.224 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/7.785, allocations: 3.219 kB / 3.224 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/7.785, allocations: 21.75 kB / 3.224 GB, free: 116.8 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01989/7.805, allocations: 8.82 MB / 3.232 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/7.808, allocations: 1.844 MB / 3.234 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/7.81, allocations: 0.8424 MB / 3.235 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000509/7.81, allocations: 0.5324 MB / 3.235 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/7.81, allocations: 45.56 kB / 3.235 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 4.068e-06/7.81, allocations: 0 / 3.235 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.008195/7.818, allocations: 2.547 MB / 3.238 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/7.819, allocations: 59.69 kB / 3.238 GB, free: 113 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006069/7.825, allocations: 3.102 MB / 3.241 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/7.826, allocations: 29.45 kB / 3.241 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001667/7.827, allocations: 0.861 MB / 3.242 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/7.828, allocations: 234.4 kB / 3.242 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008721/7.829, allocations: 2.5 kB / 3.242 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002497/7.829, allocations: 409.3 kB / 3.242 GB, free: 112 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/7.833, allocations: 2.701 MB / 3.245 GB, free: 112 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/7.837, allocations: 3.278 MB / 3.248 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006506/7.844, allocations: 2.75 MB / 3.251 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/7.844, allocations: 3.812 kB / 3.251 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01789/7.862, allocations: 6.068 MB / 3.257 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007743/7.863, allocations: 2.641 MB / 3.26 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/7.863, allocations: 6.781 kB / 3.26 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/7.863, allocations: 122.6 kB / 3.26 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003824/7.867, allocations: 0.4967 MB / 3.26 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/7.868, allocations: 1.282 MB / 3.261 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/7.873, allocations: 383.2 kB / 3.262 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/7.875, allocations: 182.8 kB / 3.262 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/7.875, allocations: 3.188 kB / 3.262 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01516/7.89, allocations: 5.785 MB / 3.268 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/7.89, allocations: 9.25 kB / 3.268 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.664e-05/7.89, allocations: 18.88 kB / 3.268 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/7.894, allocations: 0.4975 MB / 3.268 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-05/7.894, allocations: 29.53 kB / 3.268 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/7.898, allocations: 289.3 kB / 3.268 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009733/7.899, allocations: 183 kB / 3.269 GB, free: 106.9 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 52 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13],vav.idx_sorted[1],vav.idx_sorted[2],vav.idx_sorted[3],vav.idx_sorted[4],vav.idx_sorted[5],vav.idx_sorted[6],vav.idx_sorted[7],vav.idx_sorted[8],vav.idx_sorted[9],vav.idx_sorted[10],vav.idx_sorted[11],vav.idx_sorted[12],vav.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 251 * Array equations: 4 * Algorithm blocks: 0 * 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.001127/7.9, allocations: 196.2 kB / 3.269 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/7.901, allocations: 198.6 kB / 3.269 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006848/7.908, allocations: 2.8 MB / 3.272 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/7.908, allocations: 11.28 kB / 3.272 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/7.908, allocations: 0 / 3.272 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/7.908, allocations: 11.55 kB / 3.272 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/7.921, allocations: 5.107 MB / 3.277 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/7.921, allocations: 3.219 kB / 3.277 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/7.922, allocations: 233.7 kB / 3.277 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/7.922, allocations: 119 kB / 3.277 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/7.922, allocations: 43.45 kB / 3.277 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/7.923, allocations: 1.279 MB / 3.278 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/7.924, allocations: 5.781 kB / 3.278 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006966/7.93, allocations: 2.946 MB / 3.281 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/7.933, allocations: 0.739 MB / 3.282 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/7.934, allocations: 6.125 kB / 3.282 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/7.937, allocations: 116 kB / 3.282 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/7.937, allocations: 59 kB / 3.282 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/7.937, allocations: 112.7 kB / 3.282 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004924/7.942, allocations: 2.308 MB / 3.284 GB, free: 104 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/7.942, allocations: 3.281 kB / 3.284 GB, free: 104 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009713/7.952, allocations: 1.385 MB / 3.286 GB, free: 103.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004243/7.956, allocations: 1.979 MB / 3.288 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0135/7.97, allocations: 7.473 MB / 3.295 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/7.97, allocations: 3.188 kB / 3.295 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/7.971, allocations: 0.8163 MB / 3.296 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/7.975, allocations: 423.5 kB / 3.296 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/7.98, allocations: 2.916 MB / 3.299 GB, free: 99.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009368/7.981, allocations: 1.568 MB / 3.301 GB, free: 98.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.008309/7.989, allocations: 1.529 MB / 3.302 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/7.991, allocations: 145.7 kB / 3.302 GB, free: 97.45 MB / 0.6823 GB Notification: Performance of SimCode: time 2.194e-06/7.991, allocations: 0 / 3.302 GB, free: 97.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.08432/8.075, allocations: 56.87 MB / 3.358 GB, free: 49.38 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)