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.005695/0.005695, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.00103/0.00103, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.295/1.295, allocations: 222.9 MB / 240.4 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.7768/0.7768, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.45 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.161, allocations: 80.92 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5559/0.717, allocations: 167.4 MB / 0.8276 GB, free: 212 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.7198, allocations: 1.568 MB / 0.8292 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.7202, allocations: 11.78 kB / 0.8292 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.7207, allocations: 146 kB / 0.8293 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.7224, allocations: 0.7436 MB / 0.8301 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.7242, allocations: 0.6027 MB / 0.8306 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.7253, allocations: 0.7188 MB / 0.8313 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005854/0.7259, allocations: 247.5 kB / 0.8316 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.7268, allocations: 349.6 kB / 0.8319 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.7272, allocations: 229.4 kB / 0.8321 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.7273, allocations: 29.06 kB / 0.8322 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.7296, allocations: 0.8683 MB / 0.833 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.7299, allocations: 111 kB / 0.8331 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.7301, allocations: 172 kB / 0.8333 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.7316, allocations: 0.7368 MB / 0.834 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7317, allocations: 2.812 kB / 0.834 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7317, allocations: 0 / 0.834 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.7317, allocations: 0 / 0.834 GB, free: 11.78 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.001331/0.733, allocations: 0.6637 MB / 0.8346 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.7331, allocations: 15.42 kB / 0.8347 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.201e-05/0.7332, allocations: 54.36 kB / 0.8347 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.7351, allocations: 155.9 kB / 0.8349 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.7359, allocations: 332.3 kB / 0.8352 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.7359, allocations: 14.22 kB / 0.8352 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.736, allocations: 23.53 kB / 0.8352 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.7367, allocations: 289.7 kB / 0.8355 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7367, allocations: 4 kB / 0.8355 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.7368, allocations: 9.812 kB / 0.8355 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.7368, allocations: 6.031 kB / 0.8355 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.7374, allocations: 207.1 kB / 0.8357 GB, free: 10.43 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.002071/0.7395, allocations: 1.226 MB / 0.8369 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.7399, allocations: 149.1 kB / 0.837 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.7401, allocations: 95.42 kB / 0.8371 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005841/0.7407, allocations: 297.4 kB / 0.8374 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.7407, allocations: 37.47 kB / 0.8375 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.7407, allocations: 0 / 0.8375 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007591/0.7415, allocations: 293 kB / 0.8377 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.7416, allocations: 57.17 kB / 0.8378 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.7419, allocations: 321.8 kB / 0.8381 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.7419, allocations: 29.7 kB / 0.8381 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.7421, allocations: 189.9 kB / 0.8383 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.7421, allocations: 58.47 kB / 0.8384 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.7422, allocations: 55.48 kB / 0.8384 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7423, allocations: 342.5 kB / 0.8387 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.7425, allocations: 70.91 kB / 0.8388 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.7427, allocations: 128.5 kB / 0.8389 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.743, allocations: 197.5 kB / 0.8391 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7431, allocations: 4 kB / 0.8391 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004468/0.7435, allocations: 257.6 kB / 0.8394 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7435, allocations: 5.062 kB / 0.8394 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7435, allocations: 3.984 kB / 0.8394 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.7436, allocations: 4.438 kB / 0.8394 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.7438, allocations: 40.52 kB / 0.8394 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7438, allocations: 6.516 kB / 0.8394 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.744, allocations: 32.94 kB / 0.8395 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.744, allocations: 14.89 kB / 0.8395 GB, free: 7.316 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.0001444/0.7442, allocations: 151.8 kB / 0.8396 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.7442, allocations: 30.75 kB / 0.8396 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.7447, allocations: 227.4 kB / 0.8399 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.7447, allocations: 0 / 0.8399 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7447, allocations: 6.906 kB / 0.8399 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7447, allocations: 3.984 kB / 0.8399 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.7457, allocations: 0.7076 MB / 0.8406 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7457, allocations: 2.469 kB / 0.8406 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.7459, allocations: 35.86 kB / 0.8406 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.7459, allocations: 6.719 kB / 0.8406 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.7459, allocations: 6.094 kB / 0.8406 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7459, allocations: 6.125 kB / 0.8406 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7459, allocations: 0 / 0.8406 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.7465, allocations: 450.5 kB / 0.8411 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.7467, allocations: 124.3 kB / 0.8412 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.7467, allocations: 10.69 kB / 0.8412 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.7469, allocations: 11.36 kB / 0.8412 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.7469, allocations: 15.77 kB / 0.8412 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.747, allocations: 6.344 kB / 0.8412 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002595/0.7472, allocations: 233.1 kB / 0.8414 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7472, allocations: 11.94 kB / 0.8414 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003971/0.7476, allocations: 82.28 kB / 0.8415 GB, free: 5.758 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.001146/0.7488, allocations: 1.039 MB / 0.8425 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004915/0.7493, allocations: 187.3 kB / 0.8427 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7493, allocations: 0 / 0.8427 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.7495, allocations: 90.98 kB / 0.8428 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.7503, allocations: 172.2 kB / 0.843 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.7539, allocations: 3.004 MB / 0.8459 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.7543, allocations: 0.781 MB / 0.8467 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000232/0.7545, allocations: 62.17 kB / 0.8467 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.7547, allocations: 95.25 kB / 0.8468 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.7547, allocations: 4 kB / 0.8468 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.7829, allocations: 9.015 MB / 0.8556 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.742, allocations: 3.469 kB / 0.8556 GB, free: 10.88 MB / 0.6231 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/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)