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.0007837/0.0007835, allocations: 87.03 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.0008754/0.0008755, 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.372/1.372, allocations: 223.2 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9899/0.9899, allocations: 143.4 MB / 434.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003169, allocations: 12 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1557, allocations: 83.42 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4811/0.6368, allocations: 152.1 MB / 0.7461 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.6399, allocations: 1.48 MB / 0.7475 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005579/0.6405, allocations: 13.09 kB / 0.7475 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.6411, allocations: 109.7 kB / 0.7476 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.643, allocations: 0.5039 MB / 0.7481 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.6446, allocations: 458.7 kB / 0.7486 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.646, allocations: 0.8485 MB / 0.7494 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.6465, allocations: 177.2 kB / 0.7496 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008105/0.6473, allocations: 310.8 kB / 0.7499 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.6478, allocations: 219.1 kB / 0.7501 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.6479, allocations: 16 kB / 0.7501 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.6492, allocations: 466.8 kB / 0.7505 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.6494, allocations: 99.67 kB / 0.7506 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.6495, allocations: 90.55 kB / 0.7507 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007431/0.6503, allocations: 462.9 kB / 0.7512 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6503, allocations: 0 / 0.7512 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6503, allocations: 0 / 0.7512 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.6503, allocations: 0 / 0.7512 GB, free: 14.85 MB / 0.5762 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.001007/0.6514, allocations: 0.6117 MB / 0.7518 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6514, allocations: 12.03 kB / 0.7518 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.52e-05/0.6515, allocations: 59.17 kB / 0.7518 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.6526, allocations: 156.4 kB / 0.752 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.6531, allocations: 310.8 kB / 0.7523 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.6532, allocations: 20.56 kB / 0.7523 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.6532, allocations: 25.03 kB / 0.7523 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.6538, allocations: 285.8 kB / 0.7526 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6538, allocations: 0.5 kB / 0.7526 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.6538, allocations: 8 kB / 0.7526 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.6538, allocations: 4 kB / 0.7526 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.6542, allocations: 216.9 kB / 0.7528 GB, free: 13.06 MB / 0.5762 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.001469/0.6557, allocations: 1.234 MB / 0.754 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.656, allocations: 155.6 kB / 0.7542 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.6562, allocations: 93.69 kB / 0.7542 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.6568, allocations: 319.2 kB / 0.7545 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.6568, allocations: 42.56 kB / 0.7546 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.6568, allocations: 3.938 kB / 0.7546 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007563/0.6576, allocations: 315.5 kB / 0.7549 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.6576, allocations: 51.41 kB / 0.7549 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.658, allocations: 316.5 kB / 0.7552 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.658, allocations: 29.7 kB / 0.7553 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6581, allocations: 192 kB / 0.7555 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.6582, allocations: 63.17 kB / 0.7555 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.6582, allocations: 0 / 0.7555 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6583, allocations: 342.8 kB / 0.7558 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.6585, allocations: 71.95 kB / 0.7559 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.6587, allocations: 130.1 kB / 0.756 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.6589, allocations: 87.97 kB / 0.7561 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.6589, allocations: 3.953 kB / 0.7561 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004714/0.6594, allocations: 269.6 kB / 0.7564 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6594, allocations: 4 kB / 0.7564 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6595, allocations: 0 / 0.7564 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6595, allocations: 7.938 kB / 0.7564 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.6597, allocations: 39.98 kB / 0.7564 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6597, allocations: 4 kB / 0.7564 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.6599, allocations: 46.62 kB / 0.7565 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.6599, allocations: 8.141 kB / 0.7565 GB, free: 9.047 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.0001485/0.6601, allocations: 153.7 kB / 0.7566 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.6602, allocations: 39.56 kB / 0.7567 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.6606, allocations: 242.3 kB / 0.7569 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6607, allocations: 0 / 0.7569 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6607, allocations: 0 / 0.7569 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6607, allocations: 7.984 kB / 0.7569 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.6617, allocations: 0.7187 MB / 0.7576 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6617, allocations: 0 / 0.7576 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.6619, allocations: 31.98 kB / 0.7576 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.6619, allocations: 4 kB / 0.7576 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.6619, allocations: 4 kB / 0.7576 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6619, allocations: 4 kB / 0.7577 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.662, allocations: 8.547 kB / 0.7577 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/0.6626, allocations: 469.7 kB / 0.7581 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6627, allocations: 124.6 kB / 0.7582 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.6628, allocations: 8 kB / 0.7582 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.663, allocations: 23.95 kB / 0.7583 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.663, allocations: 19.94 kB / 0.7583 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.6631, allocations: 11.56 kB / 0.7583 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002315/0.6633, allocations: 231 kB / 0.7585 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6633, allocations: 0 / 0.7585 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003966/0.6637, allocations: 79.94 kB / 0.7586 GB, free: 6.754 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.001208/0.6649, allocations: 1.058 MB / 0.7596 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.6654, allocations: 191.9 kB / 0.7598 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6654, allocations: 0 / 0.7598 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.6656, allocations: 95.81 kB / 0.7599 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/0.6664, allocations: 172.5 kB / 0.7601 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.6692, allocations: 1.859 MB / 0.7619 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.6696, allocations: 0.7797 MB / 0.7626 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.6699, allocations: 62.92 kB / 0.7627 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.67, allocations: 95.41 kB / 0.7628 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.67, allocations: 0 / 0.7628 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.6935, allocations: 8.432 MB / 0.771 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.6937, allocations: 229.4 kB / 0.7712 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.597, allocations: 2.875 kB / 0.7712 GB, free: 9.902 MB / 0.5919 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: