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.006556/0.006556, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001407/0.001407, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9342/0.9342, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 63.91 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4289, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1871/0.6161, allocations: 167.4 MB / 0.8276 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002796/0.6189, allocations: 1.56 MB / 0.8292 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.6194, allocations: 11.94 kB / 0.8292 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.6199, allocations: 150.9 kB / 0.8293 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.6218, allocations: 0.7 MB / 0.83 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.6234, allocations: 0.6094 MB / 0.8306 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009523/0.6244, allocations: 0.7098 MB / 0.8313 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.6249, allocations: 241 kB / 0.8315 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008039/0.6257, allocations: 350.7 kB / 0.8319 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.6261, allocations: 231 kB / 0.8321 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.6262, allocations: 27.94 kB / 0.8321 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.6277, allocations: 0.865 MB / 0.833 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.6279, allocations: 107.7 kB / 0.8331 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.6282, allocations: 167.2 kB / 0.8332 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.6295, allocations: 0.7402 MB / 0.8339 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.6295, allocations: 3.984 kB / 0.8339 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6296, allocations: 4 kB / 0.8339 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.6296, allocations: 0 / 0.8339 GB, free: 3.129 MB / 0.6544 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.001101/0.6307, allocations: 0.6584 MB / 0.8346 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6307, allocations: 8.031 kB / 0.8346 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.153e-05/0.6308, allocations: 66.47 kB / 0.8347 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.632, allocations: 163.3 kB / 0.8348 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.6327, allocations: 326.6 kB / 0.8351 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.6327, allocations: 20.56 kB / 0.8351 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.6328, allocations: 20 kB / 0.8352 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.6334, allocations: 285.8 kB / 0.8354 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6334, allocations: 0 / 0.8354 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.6334, allocations: 12 kB / 0.8354 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6334, allocations: 4 kB / 0.8355 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.6339, allocations: 204.9 kB / 0.8356 GB, free: 1.273 MB / 0.6544 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.001575/0.6355, allocations: 1.234 MB / 0.8369 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.6358, allocations: 138.5 kB / 0.837 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.6359, allocations: 100.8 kB / 0.8371 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005737/0.6365, allocations: 299.2 kB / 0.8374 GB, free: 15.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.6366, allocations: 34.56 kB / 0.8374 GB, free: 15.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.6366, allocations: 3.938 kB / 0.8374 GB, free: 15.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0007936/0.6374, allocations: 297.3 kB / 0.8377 GB, free: 15 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6374, allocations: 51.41 kB / 0.8377 GB, free: 14.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.6378, allocations: 324.5 kB / 0.838 GB, free: 14.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.6378, allocations: 33.7 kB / 0.8381 GB, free: 14.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.6379, allocations: 184.1 kB / 0.8383 GB, free: 14.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.638, allocations: 55.2 kB / 0.8383 GB, free: 14.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.6381, allocations: 45.61 kB / 0.8383 GB, free: 14.28 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6382, allocations: 346.8 kB / 0.8387 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.6384, allocations: 67.95 kB / 0.8387 GB, free: 13.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.6386, allocations: 131.7 kB / 0.8389 GB, free: 13.72 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.639, allocations: 203.8 kB / 0.8391 GB, free: 13.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.639, allocations: 0 / 0.8391 GB, free: 13.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004918/0.6395, allocations: 257 kB / 0.8393 GB, free: 13.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6395, allocations: 4 kB / 0.8393 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.6395, allocations: 8.094 kB / 0.8393 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6396, allocations: 0 / 0.8393 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.6398, allocations: 47.86 kB / 0.8394 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6398, allocations: 0 / 0.8394 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.64, allocations: 31.77 kB / 0.8394 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.64, allocations: 8 kB / 0.8394 GB, free: 13.15 MB / 0.67 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.000153/0.6402, allocations: 163.2 kB / 0.8396 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.6403, allocations: 27.62 kB / 0.8396 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.6407, allocations: 235 kB / 0.8398 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6407, allocations: 4 kB / 0.8398 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6407, allocations: 0 / 0.8398 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6408, allocations: 0 / 0.8398 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.6418, allocations: 0.7106 MB / 0.8405 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6418, allocations: 4 kB / 0.8405 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.642, allocations: 39.86 kB / 0.8405 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.642, allocations: 0 / 0.8405 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6421, allocations: 12.22 kB / 0.8406 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.6421, allocations: 4 kB / 0.8406 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6421, allocations: 3.984 kB / 0.8406 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.6428, allocations: 456.9 kB / 0.841 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.643, allocations: 128.6 kB / 0.8411 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.643, allocations: 8 kB / 0.8411 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.6432, allocations: 7.984 kB / 0.8411 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.6433, allocations: 20.05 kB / 0.8412 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.6433, allocations: 8 kB / 0.8412 GB, free: 11.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002237/0.6435, allocations: 227 kB / 0.8414 GB, free: 10.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.613e-06/0.6435, allocations: 0 / 0.8414 GB, free: 10.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003985/0.6439, allocations: 83.94 kB / 0.8415 GB, free: 10.89 MB / 0.67 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.001336/0.6453, allocations: 1.055 MB / 0.8425 GB, free: 9.797 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004712/0.6457, allocations: 177.5 kB / 0.8427 GB, free: 9.625 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6458, allocations: 4.188 kB / 0.8427 GB, free: 9.621 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.646, allocations: 91.83 kB / 0.8428 GB, free: 9.531 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000916/0.6469, allocations: 161.7 kB / 0.8429 GB, free: 9.375 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.6507, allocations: 3.004 MB / 0.8458 GB, free: 6.234 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.651, allocations: 0.7833 MB / 0.8466 GB, free: 5.426 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.6513, allocations: 70.91 kB / 0.8467 GB, free: 5.355 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.6514, allocations: 95.41 kB / 0.8468 GB, free: 5.262 MB / 0.67 GB Notification: Performance of SimCode: time 3.91e-07/0.6514, allocations: 0 / 0.8468 GB, free: 5.262 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.6824, allocations: 9.145 MB / 0.8557 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.815, allocations: 0 / 0.8557 GB, free: 12.29 MB / 0.6856 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)