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.001668/0.001668, allocations: 109.3 kB / 16.41 MB, free: 6.473 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.001307/0.001307, allocations: 185.5 kB / 17.34 MB, free: 5.75 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8579/0.8579, allocations: 135.2 MB / 426.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 65 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.166, allocations: 80.94 MB / 0.6654 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6545/0.8204, allocations: 167.9 MB / 0.8293 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003315/0.8237, allocations: 1.563 MB / 0.8308 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.8242, allocations: 11.56 kB / 0.8308 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.8247, allocations: 156.5 kB / 0.831 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.8266, allocations: 0.7376 MB / 0.8317 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.8283, allocations: 0.6027 MB / 0.8323 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009855/0.8292, allocations: 0.7171 MB / 0.833 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.8296, allocations: 207.4 kB / 0.8332 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008191/0.8305, allocations: 352.6 kB / 0.8335 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.8308, allocations: 230.6 kB / 0.8337 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.8308, allocations: 22.28 kB / 0.8338 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.8326, allocations: 0.8809 MB / 0.8346 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.8328, allocations: 113.2 kB / 0.8347 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.833, allocations: 169.1 kB / 0.8349 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.8343, allocations: 0.739 MB / 0.8356 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8343, allocations: 0 / 0.8356 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8343, allocations: 0 / 0.8356 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.8343, allocations: 0 / 0.8356 GB, free: 11.09 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.001139/0.8354, allocations: 0.6764 MB / 0.8363 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.8355, allocations: 14.45 kB / 0.8363 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.8367, allocations: 160.7 kB / 0.8364 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.8373, allocations: 329.7 kB / 0.8368 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.8373, allocations: 22.5 kB / 0.8368 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.8374, allocations: 22.84 kB / 0.8368 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.838, allocations: 285 kB / 0.8371 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.838, allocations: 3.938 kB / 0.8371 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.838, allocations: 14.23 kB / 0.8371 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.838, allocations: 9.656 kB / 0.8371 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.8384, allocations: 201.8 kB / 0.8373 GB, free: 9.785 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.001567/0.84, allocations: 1.226 MB / 0.8385 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.8403, allocations: 145.8 kB / 0.8386 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.8405, allocations: 93.17 kB / 0.8387 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006404/0.8411, allocations: 300.2 kB / 0.839 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.8411, allocations: 33.03 kB / 0.839 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 2.305e-06/0.8412, allocations: 0 / 0.839 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0009427/0.8421, allocations: 296.7 kB / 0.8393 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.8421, allocations: 54.09 kB / 0.8394 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.8425, allocations: 324.3 kB / 0.8397 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.8425, allocations: 31.95 kB / 0.8397 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.8428, allocations: 187.2 kB / 0.8399 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.8428, allocations: 63.48 kB / 0.84 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.8429, allocations: 47.09 kB / 0.84 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.8431, allocations: 346.5 kB / 0.8403 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.8433, allocations: 67.72 kB / 0.8404 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.8435, allocations: 122.3 kB / 0.8405 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.8439, allocations: 198.1 kB / 0.8407 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8439, allocations: 0 / 0.8407 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000486/0.8444, allocations: 264.4 kB / 0.841 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8444, allocations: 7.438 kB / 0.841 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.8444, allocations: 2.5 kB / 0.841 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8444, allocations: 2.609 kB / 0.841 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.8446, allocations: 45.16 kB / 0.841 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8446, allocations: 2.5 kB / 0.841 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.8448, allocations: 37.53 kB / 0.841 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.8449, allocations: 8.031 kB / 0.8411 GB, free: 6.676 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.0001651/0.845, allocations: 161.6 kB / 0.8412 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.8451, allocations: 28.72 kB / 0.8412 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.8456, allocations: 228.7 kB / 0.8415 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.8456, allocations: 2.094 kB / 0.8415 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.8456, allocations: 0 / 0.8415 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.8456, allocations: 3.984 kB / 0.8415 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.8468, allocations: 0.718 MB / 0.8422 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8468, allocations: 6.281 kB / 0.8422 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.8469, allocations: 29.27 kB / 0.8422 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.8469, allocations: 2.469 kB / 0.8422 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.847, allocations: 13.31 kB / 0.8422 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.847, allocations: 6.609 kB / 0.8422 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.847, allocations: 6.312 kB / 0.8422 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007082/0.8477, allocations: 437.7 kB / 0.8426 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.8478, allocations: 132 kB / 0.8428 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.8479, allocations: 16.81 kB / 0.8428 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.848, allocations: 9.078 kB / 0.8428 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.8481, allocations: 15.3 kB / 0.8428 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.8481, allocations: 5.562 kB / 0.8428 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002451/0.8483, allocations: 233.4 kB / 0.843 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.8483, allocations: 0 / 0.843 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004039/0.8487, allocations: 80.72 kB / 0.8431 GB, free: 5.113 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.0004632/0.8492, allocations: 167 kB / 0.8433 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.8497, allocations: 178.3 kB / 0.8434 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8497, allocations: 4.188 kB / 0.8434 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.8499, allocations: 91.02 kB / 0.8435 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008978/0.8508, allocations: 176.7 kB / 0.8437 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.8519, allocations: 0.6604 MB / 0.8443 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.8525, allocations: 0.7815 MB / 0.8451 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.8525, allocations: 25.28 kB / 0.8451 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.8525, allocations: 0 / 0.8451 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of Templates: time 0.008279/0.8608, allocations: 5.001 MB / 0.85 GB, free: 0.9492 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)