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.006167/0.006166, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001462/0.001462, allocations: 195.3 kB / 16.68 MB, free: 5.969 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8386/0.8386, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.09 kB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1658, allocations: 80.92 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5934/0.7593, allocations: 167.4 MB / 0.8281 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.762, allocations: 1.559 MB / 0.8297 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.7623, allocations: 11.38 kB / 0.8297 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.7627, allocations: 149.8 kB / 0.8298 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.7644, allocations: 0.7002 MB / 0.8305 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.7658, allocations: 0.6026 MB / 0.8311 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007485/0.7665, allocations: 0.7297 MB / 0.8318 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.7669, allocations: 231.9 kB / 0.832 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005817/0.7675, allocations: 351.5 kB / 0.8323 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.7678, allocations: 225.8 kB / 0.8326 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.7679, allocations: 25.31 kB / 0.8326 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.7692, allocations: 0.8657 MB / 0.8334 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.7693, allocations: 119 kB / 0.8335 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.7695, allocations: 176.3 kB / 0.8337 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009588/0.7705, allocations: 0.7388 MB / 0.8344 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7705, allocations: 0 / 0.8344 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7705, allocations: 0 / 0.8344 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.7705, allocations: 0 / 0.8344 GB, free: 11.46 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.0009195/0.7714, allocations: 0.6727 MB / 0.8351 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.7715, allocations: 11.48 kB / 0.8351 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7726, allocations: 160 kB / 0.8353 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.7731, allocations: 332.3 kB / 0.8356 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.7731, allocations: 26.59 kB / 0.8356 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.7732, allocations: 27.08 kB / 0.8356 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.7737, allocations: 279.6 kB / 0.8359 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7737, allocations: 0 / 0.8359 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.7738, allocations: 12.66 kB / 0.8359 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.7738, allocations: 5.281 kB / 0.8359 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.7742, allocations: 204.7 kB / 0.8361 GB, free: 10.16 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.001486/0.7757, allocations: 1.234 MB / 0.8373 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.776, allocations: 145 kB / 0.8374 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.7762, allocations: 90.84 kB / 0.8375 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.7767, allocations: 306.1 kB / 0.8378 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.7768, allocations: 33.12 kB / 0.8379 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.7768, allocations: 0 / 0.8379 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007705/0.7775, allocations: 299.1 kB / 0.8381 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.7776, allocations: 54.41 kB / 0.8382 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.7779, allocations: 319.3 kB / 0.8385 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.7779, allocations: 32.05 kB / 0.8385 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.7781, allocations: 183.4 kB / 0.8387 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.7781, allocations: 63.19 kB / 0.8388 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.7782, allocations: 50.56 kB / 0.8388 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7783, allocations: 346.8 kB / 0.8391 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.7785, allocations: 65.64 kB / 0.8392 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.7787, allocations: 126.8 kB / 0.8393 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.7791, allocations: 205.9 kB / 0.8395 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7791, allocations: 0 / 0.8395 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006564/0.7798, allocations: 255.2 kB / 0.8398 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.7798, allocations: 8.656 kB / 0.8398 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7798, allocations: 2.562 kB / 0.8398 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.7798, allocations: 6.797 kB / 0.8398 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.7801, allocations: 43.2 kB / 0.8398 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7801, allocations: 2.156 kB / 0.8398 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.7803, allocations: 34.27 kB / 0.8399 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.7804, allocations: 7.5 kB / 0.8399 GB, free: 7.043 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.000163/0.7805, allocations: 166.6 kB / 0.84 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.7806, allocations: 31.31 kB / 0.8401 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.7811, allocations: 227.8 kB / 0.8403 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7811, allocations: 0 / 0.8403 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7811, allocations: 2.281 kB / 0.8403 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7811, allocations: 0 / 0.8403 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.7822, allocations: 0.7111 MB / 0.841 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7822, allocations: 3.875 kB / 0.841 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.7824, allocations: 43.81 kB / 0.841 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7824, allocations: 1.781 kB / 0.841 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.7824, allocations: 10.59 kB / 0.841 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7824, allocations: 3 kB / 0.841 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7824, allocations: 2.281 kB / 0.841 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.7831, allocations: 449.4 kB / 0.8415 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7832, allocations: 128 kB / 0.8416 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.7833, allocations: 9.75 kB / 0.8416 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.7835, allocations: 13.64 kB / 0.8416 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.7835, allocations: 15.08 kB / 0.8416 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.7836, allocations: 5.625 kB / 0.8416 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000262/0.7838, allocations: 232.8 kB / 0.8418 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.783e-06/0.7838, allocations: 0 / 0.8418 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003859/0.7842, allocations: 85.94 kB / 0.8419 GB, free: 5.477 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.0003967/0.7846, allocations: 169 kB / 0.8421 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.7851, allocations: 176.5 kB / 0.8423 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7851, allocations: 2.219 kB / 0.8423 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.7853, allocations: 93.95 kB / 0.8423 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.7861, allocations: 175.2 kB / 0.8425 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.7871, allocations: 0.6319 MB / 0.8431 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.7874, allocations: 0.7831 MB / 0.8439 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.7876, allocations: 70.2 kB / 0.844 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.7877, allocations: 33.09 kB / 0.844 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.7877, allocations: 0 / 0.844 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of Templates: time 0.009917/0.7976, allocations: 5.846 MB / 0.8497 GB, free: 1.004 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)