Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 108.8 kB / 16.41 MB, free: 6.5 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.001712/0.001712, allocations: 187 kB / 17.34 MB, free: 5.742 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8158/0.8158, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.14 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1503, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5948/0.7451, allocations: 167.4 MB / 0.8288 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.748, allocations: 1.561 MB / 0.8303 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.7484, allocations: 15.59 kB / 0.8303 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.7489, allocations: 149.1 kB / 0.8305 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.7508, allocations: 0.7035 MB / 0.8312 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.7524, allocations: 0.5991 MB / 0.8317 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008512/0.7532, allocations: 0.7236 MB / 0.8324 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.7536, allocations: 236.8 kB / 0.8327 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.7543, allocations: 354.2 kB / 0.833 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.7546, allocations: 225.1 kB / 0.8332 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.7546, allocations: 25.09 kB / 0.8333 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.7561, allocations: 0.8661 MB / 0.8341 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.7562, allocations: 114.9 kB / 0.8342 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.7564, allocations: 172 kB / 0.8344 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.7575, allocations: 0.734 MB / 0.8351 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7576, allocations: 3.219 kB / 0.8351 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7576, allocations: 0 / 0.8351 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.7576, allocations: 0 / 0.8351 GB, free: 11.52 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009926/0.7586, allocations: 0.6595 MB / 0.8357 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7586, allocations: 11.86 kB / 0.8357 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.7598, allocations: 155.5 kB / 0.8359 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.7603, allocations: 328.6 kB / 0.8362 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.7604, allocations: 22.59 kB / 0.8362 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.7604, allocations: 27.06 kB / 0.8363 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.7609, allocations: 289.4 kB / 0.8365 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.761, allocations: 0 / 0.8365 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.761, allocations: 12.03 kB / 0.8365 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.761, allocations: 9.281 kB / 0.8366 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.7614, allocations: 201.1 kB / 0.8367 GB, free: 10.23 MB / 0.6075 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.001397/0.7628, allocations: 1.23 MB / 0.8379 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.7631, allocations: 151.7 kB / 0.8381 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.7633, allocations: 92.27 kB / 0.8382 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.7639, allocations: 304.6 kB / 0.8385 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.7639, allocations: 34.56 kB / 0.8385 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.7639, allocations: 0 / 0.8385 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.000761/0.7647, allocations: 291.7 kB / 0.8388 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.7647, allocations: 57.19 kB / 0.8388 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.7651, allocations: 323.4 kB / 0.8391 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.7651, allocations: 32.42 kB / 0.8392 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.7652, allocations: 185.2 kB / 0.8393 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.7653, allocations: 56.41 kB / 0.8394 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.7653, allocations: 49.3 kB / 0.8394 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7655, allocations: 350.5 kB / 0.8398 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.7656, allocations: 63.02 kB / 0.8398 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.7658, allocations: 133.6 kB / 0.84 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.7662, allocations: 197.6 kB / 0.8402 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.7662, allocations: 0 / 0.8402 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004412/0.7666, allocations: 250.1 kB / 0.8404 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7667, allocations: 5.406 kB / 0.8404 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.7667, allocations: 3.938 kB / 0.8404 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7667, allocations: 2.344 kB / 0.8404 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.7669, allocations: 43.25 kB / 0.8405 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7669, allocations: 5.906 kB / 0.8405 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.7671, allocations: 34.52 kB / 0.8405 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.7672, allocations: 11.5 kB / 0.8405 GB, free: 7.125 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.7673, allocations: 153.7 kB / 0.8406 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.7674, allocations: 30.88 kB / 0.8407 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.7678, allocations: 235.2 kB / 0.8409 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7679, allocations: 10.34 kB / 0.8409 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7679, allocations: 0 / 0.8409 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7679, allocations: 144 / 0.8409 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009498/0.7688, allocations: 0.707 MB / 0.8416 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7688, allocations: 2.344 kB / 0.8416 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.769, allocations: 36.73 kB / 0.8416 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.769, allocations: 7.25 kB / 0.8416 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.7691, allocations: 12.84 kB / 0.8417 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.7691, allocations: 2.625 kB / 0.8417 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7691, allocations: 5.844 kB / 0.8417 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.7697, allocations: 449.8 kB / 0.8421 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.7698, allocations: 119.5 kB / 0.8422 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.7699, allocations: 17.77 kB / 0.8422 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.77, allocations: 5.312 kB / 0.8422 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.7701, allocations: 15.64 kB / 0.8422 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.7701, allocations: 8.953 kB / 0.8423 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001984/0.7703, allocations: 239.7 kB / 0.8425 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7703, allocations: 0 / 0.8425 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003934/0.7707, allocations: 79.84 kB / 0.8426 GB, free: 5.559 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003866/0.7711, allocations: 155.9 kB / 0.8427 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.7716, allocations: 184.8 kB / 0.8429 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7716, allocations: 2.125 kB / 0.8429 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.7718, allocations: 94.5 kB / 0.843 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.7726, allocations: 175 kB / 0.8431 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.7737, allocations: 0.6511 MB / 0.8438 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.774, allocations: 0.7853 MB / 0.8445 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.7741, allocations: 27.06 kB / 0.8446 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.7741, allocations: 0 / 0.8446 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of Templates: time 0.009032/0.7832, allocations: 5.003 MB / 0.8495 GB, free: 1.43 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)