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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_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.001039/0.001039, allocations: 86.72 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.001135/0.001135, 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.371/1.371, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 12 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4376, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1883/0.6259, allocations: 152.1 MB / 0.7317 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.6288, allocations: 1.488 MB / 0.7331 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.6291, allocations: 15.94 kB / 0.7331 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.6295, allocations: 107.2 kB / 0.7332 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.6312, allocations: 0.5014 MB / 0.7337 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.6327, allocations: 461.2 kB / 0.7342 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.6338, allocations: 0.8385 MB / 0.735 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.6342, allocations: 185.1 kB / 0.7352 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.6349, allocations: 318.8 kB / 0.7355 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.6352, allocations: 223.1 kB / 0.7357 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.6352, allocations: 16 kB / 0.7357 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.6363, allocations: 458.8 kB / 0.7361 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.6365, allocations: 107.7 kB / 0.7362 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.048e-05/0.6366, allocations: 81.52 kB / 0.7363 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.6372, allocations: 443 kB / 0.7367 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6372, allocations: 0 / 0.7367 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6372, allocations: 0 / 0.7367 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.6372, allocations: 0 / 0.7367 GB, free: 2.887 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.001033/0.6383, allocations: 0.6116 MB / 0.7373 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.6383, allocations: 12.03 kB / 0.7373 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.6384, allocations: 54.55 kB / 0.7374 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.6395, allocations: 167.3 kB / 0.7376 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.6399, allocations: 298.8 kB / 0.7378 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.64, allocations: 20.56 kB / 0.7379 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.64, allocations: 24 kB / 0.7379 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.6405, allocations: 285.8 kB / 0.7382 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.6405, allocations: 3.984 kB / 0.7382 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.6406, allocations: 12 kB / 0.7382 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.6406, allocations: 7.938 kB / 0.7382 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.641, allocations: 216.9 kB / 0.7384 GB, free: 1.082 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.001443/0.6424, allocations: 1.234 MB / 0.7396 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.6427, allocations: 150.5 kB / 0.7397 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.6429, allocations: 96.8 kB / 0.7398 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/0.6435, allocations: 319.2 kB / 0.7401 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.6436, allocations: 34.56 kB / 0.7402 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.6436, allocations: 0 / 0.7402 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007973/0.6444, allocations: 315.4 kB / 0.7405 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.6445, allocations: 51.41 kB / 0.7405 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.6448, allocations: 320.5 kB / 0.7408 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.6448, allocations: 33.7 kB / 0.7409 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.645, allocations: 184.1 kB / 0.741 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.645, allocations: 55.2 kB / 0.7411 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.645, allocations: 4 kB / 0.7411 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6452, allocations: 342.8 kB / 0.7414 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.6454, allocations: 75.95 kB / 0.7415 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.6456, allocations: 129.1 kB / 0.7416 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.6458, allocations: 87.89 kB / 0.7417 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6458, allocations: 4 kB / 0.7417 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004423/0.6462, allocations: 261 kB / 0.7419 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6462, allocations: 8 kB / 0.742 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6463, allocations: 0 / 0.742 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.6463, allocations: 4 kB / 0.742 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.6465, allocations: 43.97 kB / 0.742 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.6465, allocations: 7.938 kB / 0.742 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.6467, allocations: 47.7 kB / 0.7421 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.6467, allocations: 12 kB / 0.7421 GB, free: 13.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.6469, allocations: 147.3 kB / 0.7422 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.647, allocations: 31.62 kB / 0.7422 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.6474, allocations: 252.6 kB / 0.7425 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6475, allocations: 0 / 0.7425 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6475, allocations: 144 / 0.7425 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.6475, allocations: 7.984 kB / 0.7425 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.6486, allocations: 0.7186 MB / 0.7432 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6486, allocations: 96 / 0.7432 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.6487, allocations: 35.92 kB / 0.7432 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.6488, allocations: 7.984 kB / 0.7432 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.6488, allocations: 8 kB / 0.7432 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.6488, allocations: 11.89 kB / 0.7432 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6488, allocations: 0 / 0.7432 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.6495, allocations: 466.8 kB / 0.7437 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.6496, allocations: 116.7 kB / 0.7438 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.6496, allocations: 11.98 kB / 0.7438 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.6498, allocations: 20.05 kB / 0.7438 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.6499, allocations: 19.94 kB / 0.7439 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.6499, allocations: 4 kB / 0.7439 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002692/0.6502, allocations: 231 kB / 0.7441 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6502, allocations: 0 / 0.7441 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003871/0.6506, allocations: 79.94 kB / 0.7442 GB, free: 10.78 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 (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.001137/0.6517, allocations: 1.06 MB / 0.7452 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.6522, allocations: 190 kB / 0.7454 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.726e-06/0.6522, allocations: 4.188 kB / 0.7454 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.6524, allocations: 103.8 kB / 0.7455 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.6533, allocations: 167.9 kB / 0.7456 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.6561, allocations: 1.853 MB / 0.7474 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.6565, allocations: 0.7797 MB / 0.7482 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002344/0.6567, allocations: 66.92 kB / 0.7483 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.6569, allocations: 95.41 kB / 0.7484 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.6569, allocations: 0 / 0.7484 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.6856, allocations: 8.384 MB / 0.7565 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.686, allocations: 198.7 kB / 0.7567 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.636, allocations: 0 / 0.7567 GB, free: 13.94 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: