Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001137/0.001137, allocations: 107 kB / 16.35 MB, free: 5.824 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.001155/0.001155, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.325/1.325, 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.7847/0.7847, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3427, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1731/0.5159, allocations: 167.4 MB / 0.745 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.5188, allocations: 1.568 MB / 0.7465 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.5191, allocations: 11.94 kB / 0.7465 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.5196, allocations: 154.8 kB / 0.7466 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.5213, allocations: 0.7117 MB / 0.7473 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.5228, allocations: 0.5936 MB / 0.7479 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007933/0.5236, allocations: 0.7176 MB / 0.7486 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.524, allocations: 236.9 kB / 0.7489 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005982/0.5246, allocations: 346.7 kB / 0.7492 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.5249, allocations: 219.1 kB / 0.7494 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.5249, allocations: 24 kB / 0.7494 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.5263, allocations: 0.8728 MB / 0.7503 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.5265, allocations: 107.7 kB / 0.7504 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.5267, allocations: 179.1 kB / 0.7505 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3741/0.9008, allocations: 0.7279 MB / 0.7512 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.9008, allocations: 1.344 kB / 0.7513 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9008, allocations: 0 / 0.7513 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.9009, allocations: 0 / 0.7513 GB, free: 4.219 MB / 0.5762 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.001065/0.9019, allocations: 0.6616 MB / 0.7519 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.902, allocations: 9.844 kB / 0.7519 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.9032, allocations: 154.3 kB / 0.7521 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.9038, allocations: 337.9 kB / 0.7524 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.9038, allocations: 17.09 kB / 0.7524 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.9039, allocations: 23.38 kB / 0.7524 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.9044, allocations: 281.9 kB / 0.7527 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9044, allocations: 1.938 kB / 0.7527 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.9044, allocations: 11.81 kB / 0.7527 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9044, allocations: 6.062 kB / 0.7527 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.9049, allocations: 205.7 kB / 0.7529 GB, free: 3.457 MB / 0.5762 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.001481/0.9064, allocations: 1.228 MB / 0.7541 GB, free: 18.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.9066, allocations: 150.2 kB / 0.7542 GB, free: 18.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.9068, allocations: 94.38 kB / 0.7543 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/0.9074, allocations: 305.8 kB / 0.7546 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.9074, allocations: 38.31 kB / 0.7547 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.9074, allocations: 3.406 kB / 0.7547 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007136/0.9081, allocations: 288.9 kB / 0.7549 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.9082, allocations: 58.59 kB / 0.755 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.9085, allocations: 317.1 kB / 0.7553 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.9085, allocations: 29.28 kB / 0.7553 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.9086, allocations: 186.8 kB / 0.7555 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.9087, allocations: 62.66 kB / 0.7556 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.9088, allocations: 52.91 kB / 0.7556 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9089, allocations: 337.7 kB / 0.7559 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.9091, allocations: 68.88 kB / 0.756 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.9092, allocations: 128.4 kB / 0.7561 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.9096, allocations: 195.4 kB / 0.7563 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9096, allocations: 4.938 kB / 0.7563 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004044/0.91, allocations: 250.9 kB / 0.7566 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.91, allocations: 6 kB / 0.7566 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.91, allocations: 3.859 kB / 0.7566 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.91, allocations: 0.7188 kB / 0.7566 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.9102, allocations: 47.11 kB / 0.7566 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.9102, allocations: 3.469 kB / 0.7566 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.9104, allocations: 34.23 kB / 0.7566 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.9105, allocations: 10.91 kB / 0.7567 GB, free: 17.39 MB / 0.5919 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.0001316/0.9106, allocations: 150.3 kB / 0.7568 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.9107, allocations: 33.95 kB / 0.7568 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/0.9111, allocations: 240.2 kB / 0.7571 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.9111, allocations: 0.9688 kB / 0.7571 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9112, allocations: 2.469 kB / 0.7571 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9112, allocations: 2.062 kB / 0.7571 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.9122, allocations: 0.7036 MB / 0.7578 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.9122, allocations: 2.562 kB / 0.7578 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.9124, allocations: 40.23 kB / 0.7578 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.9124, allocations: 5.094 kB / 0.7578 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.9124, allocations: 8.281 kB / 0.7578 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.9124, allocations: 8.344 kB / 0.7578 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9124, allocations: 3.438 kB / 0.7578 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.9131, allocations: 447.8 kB / 0.7582 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.9132, allocations: 126.5 kB / 0.7584 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.9133, allocations: 7.406 kB / 0.7584 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.9135, allocations: 13.17 kB / 0.7584 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.9135, allocations: 19.88 kB / 0.7584 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.9135, allocations: 5.594 kB / 0.7584 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002135/0.9138, allocations: 233.8 kB / 0.7586 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9138, allocations: 0 / 0.7586 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000413/0.9142, allocations: 85.22 kB / 0.7587 GB, free: 16.45 MB / 0.5919 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.0003801/0.9146, allocations: 169.5 kB / 0.7589 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.915, allocations: 183.9 kB / 0.759 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.915, allocations: 1.188 kB / 0.7591 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.9153, allocations: 95.41 kB / 0.7591 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.9161, allocations: 164 kB / 0.7593 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.9172, allocations: 0.6285 MB / 0.7599 GB, free: 16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.9176, allocations: 0.7812 MB / 0.7607 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.9178, allocations: 65.67 kB / 0.7607 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.9179, allocations: 25.31 kB / 0.7608 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.9179, allocations: 1.094 kB / 0.7608 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.01126/0.9292, allocations: 5.806 MB / 0.7664 GB, free: 15.17 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)