Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009253/0.0009253, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009735/0.0009736, allocations: 177.3 kB / 15.95 MB, free: 216 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.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.072/1.072, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1873, allocations: 83.4 MB / 0.5973 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4527/0.6401, allocations: 140.2 MB / 0.7343 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.6432, allocations: 1.591 MB / 0.7358 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.6437, allocations: 9.438 kB / 0.7358 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.6444, allocations: 169.2 kB / 0.736 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.6461, allocations: 0.5274 MB / 0.7365 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.6479, allocations: 482.9 kB / 0.737 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.649, allocations: 443 kB / 0.7374 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004827/0.6495, allocations: 189.2 kB / 0.7376 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.6506, allocations: 351.1 kB / 0.7379 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.651, allocations: 156.9 kB / 0.7381 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.704e-05/0.6511, allocations: 14.56 kB / 0.7381 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.6524, allocations: 421.7 kB / 0.7385 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.6525, allocations: 95.8 kB / 0.7386 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.6527, allocations: 89.52 kB / 0.7387 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.6538, allocations: 413.3 kB / 0.7391 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6538, allocations: 0 / 0.7391 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.649e-06/0.6538, allocations: 8.656 kB / 0.7391 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.6538, allocations: 0 / 0.7391 GB, free: 9.734 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.00157/0.6554, allocations: 0.5943 MB / 0.7396 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.6555, allocations: 12.03 kB / 0.7397 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000208/0.6557, allocations: 55.86 kB / 0.7397 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.6573, allocations: 168.8 kB / 0.7399 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.6579, allocations: 306.5 kB / 0.7402 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.6579, allocations: 20.5 kB / 0.7402 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.658, allocations: 24 kB / 0.7402 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.6586, allocations: 287.5 kB / 0.7405 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6586, allocations: 0 / 0.7405 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.6586, allocations: 16.73 kB / 0.7405 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.6586, allocations: 4 kB / 0.7405 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.6591, allocations: 211.6 kB / 0.7407 GB, free: 8.148 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.001725/0.6608, allocations: 1.229 MB / 0.7419 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.6612, allocations: 158.5 kB / 0.7421 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/0.6616, allocations: 133.8 kB / 0.7422 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.6617, allocations: 34.56 kB / 0.7422 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 2.083e-06/0.6617, allocations: 0 / 0.7422 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0008772/0.6626, allocations: 312.6 kB / 0.7425 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.6626, allocations: 56.14 kB / 0.7426 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.663, allocations: 321.3 kB / 0.7429 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.663, allocations: 29.7 kB / 0.7429 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.6632, allocations: 188.1 kB / 0.7431 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.6633, allocations: 55.91 kB / 0.7431 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.6633, allocations: 4 kB / 0.7431 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6634, allocations: 344.2 kB / 0.7435 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.6636, allocations: 73.73 kB / 0.7435 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.6639, allocations: 130.8 kB / 0.7437 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.6641, allocations: 86.83 kB / 0.7437 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6641, allocations: 0 / 0.7437 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000548/0.6647, allocations: 270.8 kB / 0.744 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.6647, allocations: 4 kB / 0.744 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6647, allocations: 0.6094 kB / 0.744 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.6647, allocations: 4 kB / 0.744 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.665, allocations: 50.08 kB / 0.7441 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.665, allocations: 8.656 kB / 0.7441 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.6653, allocations: 36.52 kB / 0.7441 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.6654, allocations: 12.52 kB / 0.7441 GB, free: 4.805 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.000193/0.6656, allocations: 146.7 kB / 0.7443 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.6656, allocations: 36.23 kB / 0.7443 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.6662, allocations: 249.2 kB / 0.7445 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.6662, allocations: 0.7031 kB / 0.7445 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6662, allocations: 4 kB / 0.7445 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6662, allocations: 0.8438 kB / 0.7445 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.6676, allocations: 0.7231 MB / 0.7452 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6676, allocations: 3.938 kB / 0.7452 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.6678, allocations: 34.09 kB / 0.7453 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6678, allocations: 4 kB / 0.7453 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.6678, allocations: 8 kB / 0.7453 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.6678, allocations: 6.578 kB / 0.7453 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6679, allocations: 3.938 kB / 0.7453 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.6687, allocations: 0.5341 MB / 0.7458 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.6689, allocations: 127.6 kB / 0.7459 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.669, allocations: 9.875 kB / 0.7459 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.6692, allocations: 16.48 kB / 0.746 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.6692, allocations: 22.64 kB / 0.746 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.6693, allocations: 6.156 kB / 0.746 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002507/0.6695, allocations: 226.2 kB / 0.7462 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6695, allocations: 4 kB / 0.7462 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004215/0.6699, allocations: 85.08 kB / 0.7463 GB, free: 2.625 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.001377/0.6713, allocations: 1.622 MB / 0.7479 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.6718, allocations: 192.7 kB / 0.7481 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6718, allocations: 0 / 0.7481 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.672, allocations: 106.1 kB / 0.7482 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.6729, allocations: 149.3 kB / 0.7483 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.676, allocations: 2.602 MB / 0.7508 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.6764, allocations: 0.7875 MB / 0.7516 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002619/0.6767, allocations: 66.88 kB / 0.7517 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.6768, allocations: 91.64 kB / 0.7518 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.6768, allocations: 0 / 0.7518 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.6977, allocations: 8.417 MB / 0.76 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.698, allocations: 223 kB / 0.7602 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.637, allocations: 64 / 0.7602 GB, free: 4.91 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: