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.001584/0.001584, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001598/0.001598, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9967/0.9967, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.42 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1748, allocations: 81.03 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.421/0.5958, allocations: 165.1 MB / 0.7457 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003225/0.5991, allocations: 1.546 MB / 0.7473 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005248/0.5996, allocations: 14.69 kB / 0.7473 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.6002, allocations: 125.8 kB / 0.7474 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.602, allocations: 0.6678 MB / 0.748 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.6038, allocations: 0.5534 MB / 0.7486 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008989/0.6047, allocations: 0.7243 MB / 0.7493 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.605, allocations: 235.5 kB / 0.7495 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.6056, allocations: 348 kB / 0.7498 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.6059, allocations: 241 kB / 0.7501 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.6059, allocations: 25.25 kB / 0.7501 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.6074, allocations: 0.8958 MB / 0.751 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.6075, allocations: 109.7 kB / 0.7511 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.6077, allocations: 174.7 kB / 0.7512 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.6088, allocations: 0.7845 MB / 0.752 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6088, allocations: 0 / 0.752 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6088, allocations: 3.938 kB / 0.752 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.6088, allocations: 0 / 0.752 GB, free: 0.6367 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.0009062/0.6097, allocations: 0.6699 MB / 0.7527 GB, free: 48 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.6098, allocations: 9.562 kB / 0.7527 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.6109, allocations: 156.9 kB / 0.7528 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.6113, allocations: 316.7 kB / 0.7531 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.6113, allocations: 16.34 kB / 0.7531 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.6114, allocations: 31.67 kB / 0.7532 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.6119, allocations: 284 kB / 0.7535 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.6119, allocations: 0 / 0.7535 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.6119, allocations: 8 kB / 0.7535 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.6119, allocations: 8 kB / 0.7535 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.6124, allocations: 204.9 kB / 0.7537 GB, free: 15.19 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.001466/0.6138, allocations: 1.227 MB / 0.7549 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.6141, allocations: 150.5 kB / 0.755 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.6143, allocations: 97.84 kB / 0.7551 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006602/0.615, allocations: 303.2 kB / 0.7554 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.615, allocations: 34.56 kB / 0.7554 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 3.346e-06/0.6151, allocations: 0 / 0.7554 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007703/0.6158, allocations: 295.5 kB / 0.7557 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.6159, allocations: 63.34 kB / 0.7558 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.6162, allocations: 316.5 kB / 0.7561 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.6163, allocations: 33.7 kB / 0.7561 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.6164, allocations: 180.2 kB / 0.7563 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.6165, allocations: 59.11 kB / 0.7563 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/0.6166, allocations: 49.7 kB / 0.7564 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6167, allocations: 338.8 kB / 0.7567 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.6169, allocations: 69.58 kB / 0.7568 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.6172, allocations: 131.7 kB / 0.7569 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.6175, allocations: 191.3 kB / 0.7571 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6176, allocations: 4 kB / 0.7571 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000544/0.6181, allocations: 256.5 kB / 0.7573 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6181, allocations: 8 kB / 0.7573 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.6181, allocations: 0 / 0.7573 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6182, allocations: 7.938 kB / 0.7573 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.6184, allocations: 39.97 kB / 0.7574 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.6184, allocations: 4 kB / 0.7574 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.6186, allocations: 39.77 kB / 0.7574 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.6187, allocations: 12 kB / 0.7574 GB, free: 11.07 MB / 0.5762 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.0002054/0.6189, allocations: 157.7 kB / 0.7576 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.6189, allocations: 27.62 kB / 0.7576 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.6194, allocations: 238.6 kB / 0.7578 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6194, allocations: 7.938 kB / 0.7578 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6194, allocations: 0 / 0.7578 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6195, allocations: 0 / 0.7578 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.6205, allocations: 0.7068 MB / 0.7585 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6206, allocations: 3.984 kB / 0.7585 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.6207, allocations: 31.98 kB / 0.7586 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6207, allocations: 0 / 0.7586 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.6208, allocations: 11.94 kB / 0.7586 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.6208, allocations: 4 kB / 0.7586 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6208, allocations: 8.156 kB / 0.7586 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.6215, allocations: 445 kB / 0.759 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.6216, allocations: 125.9 kB / 0.7591 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.6217, allocations: 11.94 kB / 0.7591 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.6219, allocations: 19.92 kB / 0.7592 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.6219, allocations: 16.05 kB / 0.7592 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.622, allocations: 8 kB / 0.7592 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002335/0.6222, allocations: 231 kB / 0.7594 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6222, allocations: 0 / 0.7594 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003969/0.6226, allocations: 83.91 kB / 0.7595 GB, free: 8.82 MB / 0.5762 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.0003707/0.623, allocations: 173.6 kB / 0.7596 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.6235, allocations: 190.1 kB / 0.7598 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6235, allocations: 0 / 0.7598 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.6237, allocations: 96.44 kB / 0.7599 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.6246, allocations: 165.7 kB / 0.7601 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.6257, allocations: 0.735 MB / 0.7608 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.6261, allocations: 0.7795 MB / 0.7616 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002053/0.6263, allocations: 66.92 kB / 0.7616 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.6263, allocations: 23.44 kB / 0.7616 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6264, allocations: 3.938 kB / 0.7616 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of Templates: time 0.0107/0.6371, allocations: 5.722 MB / 0.7672 GB, free: 0.957 MB / 0.5762 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)