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.001041/0.001041, allocations: 91.53 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.001295/0.001295, 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.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.3 MB / 426.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 17.06 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1918, allocations: 82.3 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4931/0.6849, allocations: 152.1 MB / 0.7359 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.6882, allocations: 1.486 MB / 0.7373 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004068/0.6886, allocations: 10.19 kB / 0.7373 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.6891, allocations: 106.5 kB / 0.7374 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.6909, allocations: 0.5129 MB / 0.7379 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.6923, allocations: 454.3 kB / 0.7384 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.6934, allocations: 0.8407 MB / 0.7392 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.6938, allocations: 177.8 kB / 0.7393 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.6944, allocations: 321 kB / 0.7397 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.6947, allocations: 217.5 kB / 0.7399 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.6947, allocations: 13.53 kB / 0.7399 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.6959, allocations: 465.9 kB / 0.7403 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.696, allocations: 99.78 kB / 0.7404 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.6961, allocations: 87.89 kB / 0.7405 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.6966, allocations: 439 kB / 0.7409 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6966, allocations: 5.312 kB / 0.7409 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6966, allocations: 4 kB / 0.7409 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.6966, allocations: 0 / 0.7409 GB, free: 12.7 MB / 0.5606 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.0008831/0.6975, allocations: 0.6026 MB / 0.7415 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6976, allocations: 9.031 kB / 0.7415 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.6987, allocations: 169 kB / 0.7417 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.6992, allocations: 311.1 kB / 0.742 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.6992, allocations: 17.31 kB / 0.742 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.6993, allocations: 23.22 kB / 0.742 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.6998, allocations: 294.8 kB / 0.7423 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6998, allocations: 1.438 kB / 0.7423 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.6998, allocations: 9.344 kB / 0.7423 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.6999, allocations: 5.656 kB / 0.7423 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.7003, allocations: 213.9 kB / 0.7425 GB, free: 11.66 MB / 0.5606 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.001355/0.7016, allocations: 1.233 MB / 0.7437 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.7019, allocations: 157.9 kB / 0.7439 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.7021, allocations: 97.61 kB / 0.744 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/0.7027, allocations: 314.8 kB / 0.7443 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.7027, allocations: 37.92 kB / 0.7443 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.7027, allocations: 0 / 0.7443 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0007963/0.7035, allocations: 308.3 kB / 0.7446 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.7036, allocations: 54.06 kB / 0.7446 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.704, allocations: 320.7 kB / 0.745 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.704, allocations: 32.61 kB / 0.745 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.7042, allocations: 184.4 kB / 0.7452 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.7042, allocations: 55.48 kB / 0.7452 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.7043, allocations: 4 kB / 0.7452 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.7045, allocations: 350.7 kB / 0.7456 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.7046, allocations: 77.23 kB / 0.7456 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.7049, allocations: 124.7 kB / 0.7457 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.7051, allocations: 98.02 kB / 0.7458 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7051, allocations: 0 / 0.7458 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004648/0.7055, allocations: 260.2 kB / 0.7461 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7056, allocations: 5.312 kB / 0.7461 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.7056, allocations: 6.719 kB / 0.7461 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7056, allocations: 3.188 kB / 0.7461 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.7058, allocations: 49.19 kB / 0.7461 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.7058, allocations: 3.938 kB / 0.7462 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.7061, allocations: 38.36 kB / 0.7462 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.7061, allocations: 10.38 kB / 0.7462 GB, free: 8.836 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.7063, allocations: 156 kB / 0.7463 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.7064, allocations: 30.97 kB / 0.7464 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.7068, allocations: 244.3 kB / 0.7466 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.7069, allocations: 3.781 kB / 0.7466 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7069, allocations: 3.938 kB / 0.7466 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.7069, allocations: 0 / 0.7466 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.7079, allocations: 0.7182 MB / 0.7473 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7079, allocations: 6.797 kB / 0.7473 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.7081, allocations: 35.55 kB / 0.7474 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7081, allocations: 6.25 kB / 0.7474 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.7081, allocations: 7.562 kB / 0.7474 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.7081, allocations: 3.938 kB / 0.7474 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7081, allocations: 6.953 kB / 0.7474 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.7088, allocations: 466.6 kB / 0.7478 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.7089, allocations: 119.4 kB / 0.7479 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.709, allocations: 3.812 kB / 0.7479 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.7092, allocations: 24.17 kB / 0.748 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.7092, allocations: 21.41 kB / 0.748 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.7092, allocations: 10.41 kB / 0.748 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002166/0.7095, allocations: 228.1 kB / 0.7482 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7095, allocations: 0 / 0.7482 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004109/0.7099, allocations: 84.17 kB / 0.7483 GB, free: 7.258 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003978/0.7103, allocations: 171.4 kB / 0.7485 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.7107, allocations: 184.9 kB / 0.7486 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7107, allocations: 192 / 0.7486 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.7109, allocations: 102.6 kB / 0.7487 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.7118, allocations: 160.3 kB / 0.7489 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.7129, allocations: 0.7525 MB / 0.7496 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.7133, allocations: 0.7758 MB / 0.7504 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002179/0.7135, allocations: 65.05 kB / 0.7504 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.7136, allocations: 35.42 kB / 0.7505 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.7136, allocations: 0 / 0.7505 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of Templates: time 0.0112/0.7248, allocations: 5.345 MB / 0.7557 GB, free: 184 kB / 0.5606 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)