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.005869/0.005875, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001672/0.001672, allocations: 199 kB / 16.68 MB, free: 5.914 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.738/0.738, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.00119, allocations: 68.81 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1512, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5636/0.7148, allocations: 167.4 MB / 0.8227 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.7177, allocations: 1.562 MB / 0.8242 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.7181, allocations: 10.94 kB / 0.8242 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.7185, allocations: 152.7 kB / 0.8244 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.7205, allocations: 0.7375 MB / 0.8251 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.7222, allocations: 0.607 MB / 0.8257 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.7231, allocations: 0.7246 MB / 0.8264 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.7235, allocations: 230.2 kB / 0.8266 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006769/0.7242, allocations: 355.6 kB / 0.8269 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.7245, allocations: 229 kB / 0.8272 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.7245, allocations: 24.16 kB / 0.8272 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.7261, allocations: 0.8758 MB / 0.828 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.7263, allocations: 111.3 kB / 0.8281 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.7265, allocations: 172.1 kB / 0.8283 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.7278, allocations: 0.7419 MB / 0.829 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7279, allocations: 1.094 kB / 0.829 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7279, allocations: 1.969 kB / 0.829 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.7279, allocations: 0 / 0.829 GB, free: 3.203 MB / 0.6387 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.0009597/0.7288, allocations: 0.6599 MB / 0.8297 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7289, allocations: 8.688 kB / 0.8297 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.729, allocations: 62.62 kB / 0.8297 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.7301, allocations: 162 kB / 0.8299 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.7307, allocations: 329.6 kB / 0.8302 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.7307, allocations: 21.19 kB / 0.8302 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.7307, allocations: 23.25 kB / 0.8303 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.7312, allocations: 279.2 kB / 0.8305 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.7312, allocations: 5.312 kB / 0.8305 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.7313, allocations: 13.78 kB / 0.8305 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.7313, allocations: 6.406 kB / 0.8305 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.7317, allocations: 202.7 kB / 0.8307 GB, free: 2.344 MB / 0.6387 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.001218/0.7329, allocations: 1.218 MB / 0.8319 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.7332, allocations: 149.8 kB / 0.8321 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.7334, allocations: 96.48 kB / 0.8322 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/0.7339, allocations: 300.5 kB / 0.8324 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.7339, allocations: 38.42 kB / 0.8325 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=17): time 1.933e-06/0.7339, allocations: 0 / 0.8325 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17): time 0.0007624/0.7347, allocations: 297.9 kB / 0.8328 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.7349, allocations: 57.11 kB / 0.8328 GB, free: 17.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.7352, allocations: 320.2 kB / 0.8331 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.7352, allocations: 27.55 kB / 0.8332 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.7353, allocations: 190.4 kB / 0.8333 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.7354, allocations: 55.52 kB / 0.8334 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.7355, allocations: 53.59 kB / 0.8334 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7356, allocations: 342.4 kB / 0.8338 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.7358, allocations: 70.95 kB / 0.8338 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.736, allocations: 125.6 kB / 0.834 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.7363, allocations: 200.4 kB / 0.8341 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7363, allocations: 0 / 0.8341 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000463/0.7368, allocations: 257 kB / 0.8344 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7368, allocations: 9.406 kB / 0.8344 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7368, allocations: 8.734 kB / 0.8344 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.7369, allocations: 3.625 kB / 0.8344 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.7371, allocations: 43.48 kB / 0.8344 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.7371, allocations: 5.203 kB / 0.8345 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.7373, allocations: 33.61 kB / 0.8345 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.7374, allocations: 7.719 kB / 0.8345 GB, free: 16.27 MB / 0.6544 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.0001457/0.7375, allocations: 154 kB / 0.8346 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.7376, allocations: 25.47 kB / 0.8347 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004407/0.738, allocations: 236.7 kB / 0.8349 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.738, allocations: 1.312 kB / 0.8349 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.738, allocations: 0 / 0.8349 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7381, allocations: 3.406 kB / 0.8349 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.739, allocations: 0.7094 MB / 0.8356 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.739, allocations: 6.266 kB / 0.8356 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.7392, allocations: 30.94 kB / 0.8356 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7392, allocations: 2.156 kB / 0.8356 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.7392, allocations: 10.89 kB / 0.8356 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7392, allocations: 6.312 kB / 0.8356 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7392, allocations: 2 kB / 0.8356 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.7399, allocations: 452.6 kB / 0.8361 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.74, allocations: 128.6 kB / 0.8362 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.74, allocations: 3.031 kB / 0.8362 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.7402, allocations: 10.67 kB / 0.8362 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.7403, allocations: 25.17 kB / 0.8362 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.7403, allocations: 6.688 kB / 0.8362 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002473/0.7406, allocations: 231.2 kB / 0.8365 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7406, allocations: 0 / 0.8365 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004549/0.741, allocations: 80.69 kB / 0.8365 GB, free: 15.32 MB / 0.6544 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.001154/0.7422, allocations: 1.042 MB / 0.8376 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.7426, allocations: 183.3 kB / 0.8377 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7426, allocations: 0.8125 kB / 0.8377 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.7428, allocations: 93.5 kB / 0.8378 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/0.7436, allocations: 170 kB / 0.838 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.7473, allocations: 2.999 MB / 0.8409 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.7476, allocations: 0.7805 MB / 0.8417 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002562/0.7479, allocations: 65.06 kB / 0.8417 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.748, allocations: 93.33 kB / 0.8418 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.748, allocations: 0.8125 kB / 0.8418 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.7775, allocations: 9.025 MB / 0.8506 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.515, allocations: 5.266 kB / 0.8506 GB, free: 11.61 MB / 0.6544 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/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)