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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001684/0.001684, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9793/0.9793, allocations: 135.3 MB / 426.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.000365, allocations: 8.531 kB / 0.5071 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1721, allocations: 82.3 MB / 0.5875 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5698/0.7419, allocations: 152.1 MB / 0.736 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003574/0.7455, allocations: 1.477 MB / 0.7374 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.7462, allocations: 16.94 kB / 0.7374 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.7467, allocations: 109.1 kB / 0.7375 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.7488, allocations: 0.5066 MB / 0.738 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.7506, allocations: 453 kB / 0.7385 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.7522, allocations: 0.8407 MB / 0.7393 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.7527, allocations: 182.7 kB / 0.7395 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.7539, allocations: 312 kB / 0.7397 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.7543, allocations: 228.5 kB / 0.74 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.7544, allocations: 13.75 kB / 0.74 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.7563, allocations: 471.7 kB / 0.7404 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.7565, allocations: 101.8 kB / 0.7405 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.7566, allocations: 87.58 kB / 0.7406 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.7577, allocations: 437.3 kB / 0.741 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.7577, allocations: 0 / 0.741 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.489e-06/0.7577, allocations: 0 / 0.741 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.7577, allocations: 0 / 0.741 GB, free: 13.1 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.001198/0.7589, allocations: 0.6185 MB / 0.7416 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.759, allocations: 9.625 kB / 0.7416 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.499e-05/0.7591, allocations: 57.61 kB / 0.7417 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.7603, allocations: 158.4 kB / 0.7418 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.7608, allocations: 304.3 kB / 0.7421 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7608, allocations: 23.91 kB / 0.7422 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.7609, allocations: 24.06 kB / 0.7422 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.7615, allocations: 285.7 kB / 0.7425 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.7615, allocations: 0 / 0.7425 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.7616, allocations: 10.41 kB / 0.7425 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.7616, allocations: 9.094 kB / 0.7425 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.7621, allocations: 214 kB / 0.7427 GB, free: 12.01 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.00165/0.7637, allocations: 1.234 MB / 0.7439 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.764, allocations: 151.4 kB / 0.744 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.7642, allocations: 100.9 kB / 0.7441 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/0.7649, allocations: 317.6 kB / 0.7444 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.7649, allocations: 37.45 kB / 0.7445 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.7649, allocations: 0 / 0.7445 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0008339/0.7658, allocations: 309.5 kB / 0.7448 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.7658, allocations: 54.22 kB / 0.7448 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.7662, allocations: 318.2 kB / 0.7451 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.7662, allocations: 25.7 kB / 0.7451 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.7664, allocations: 186.2 kB / 0.7453 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.7664, allocations: 53.89 kB / 0.7454 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.7665, allocations: 8 kB / 0.7454 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7666, allocations: 352.4 kB / 0.7457 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.7668, allocations: 72.08 kB / 0.7458 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.767, allocations: 130.5 kB / 0.7459 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.7672, allocations: 90.61 kB / 0.746 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7672, allocations: 0 / 0.746 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004893/0.7677, allocations: 259.8 kB / 0.7462 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7677, allocations: 8.438 kB / 0.7462 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.7678, allocations: 3.031 kB / 0.7462 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7678, allocations: 0 / 0.7462 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.768, allocations: 59.34 kB / 0.7463 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.768, allocations: 2.688 kB / 0.7463 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.7683, allocations: 39.27 kB / 0.7463 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.7684, allocations: 6.781 kB / 0.7464 GB, free: 9.113 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.0001701/0.7685, allocations: 159.7 kB / 0.7465 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.7686, allocations: 34.91 kB / 0.7465 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.7691, allocations: 239.6 kB / 0.7468 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7691, allocations: 3.281 kB / 0.7468 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7691, allocations: 0 / 0.7468 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7692, allocations: 3.938 kB / 0.7468 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.7702, allocations: 0.7145 MB / 0.7475 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7702, allocations: 3.312 kB / 0.7475 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.7704, allocations: 46.81 kB / 0.7475 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.7704, allocations: 0 / 0.7475 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.7705, allocations: 7 kB / 0.7475 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7705, allocations: 0 / 0.7475 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.7705, allocations: 7.172 kB / 0.7475 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.7712, allocations: 471.4 kB / 0.748 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.7713, allocations: 124.1 kB / 0.7481 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.7714, allocations: 3 kB / 0.7481 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.7716, allocations: 28.05 kB / 0.7481 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.7716, allocations: 16.97 kB / 0.7481 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.7717, allocations: 10.5 kB / 0.7482 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002267/0.7719, allocations: 225.6 kB / 0.7484 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7719, allocations: 1.125 kB / 0.7484 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004688/0.7724, allocations: 85.41 kB / 0.7485 GB, free: 7.531 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.001447/0.7738, allocations: 1.055 MB / 0.7495 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.7743, allocations: 190.6 kB / 0.7497 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7743, allocations: 0 / 0.7497 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.7745, allocations: 96.23 kB / 0.7498 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/0.7755, allocations: 164.5 kB / 0.7499 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.7787, allocations: 1.869 MB / 0.7517 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.7792, allocations: 0.7876 MB / 0.7525 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002919/0.7795, allocations: 58.94 kB / 0.7526 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.7796, allocations: 91.41 kB / 0.7527 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of SimCode: time 1.492e-06/0.7797, allocations: 0 / 0.7527 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.8036, allocations: 8.386 MB / 0.7608 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.8039, allocations: 223.6 kB / 0.7611 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.86, allocations: 0 / 0.7611 GB, free: 11.07 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: