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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.007783/0.007783, allocations: 99.94 kB / 15.73 MB, free: 6.008 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.001719/0.001719, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8255/0.8255, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 64.56 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1707, allocations: 82.04 MB / 0.6752 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5886/0.7594, allocations: 167.4 MB / 0.8387 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003077/0.7625, allocations: 1.565 MB / 0.8402 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.7628, allocations: 10.91 kB / 0.8402 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004926/0.7633, allocations: 149 kB / 0.8404 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.7651, allocations: 0.7382 MB / 0.8411 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.7667, allocations: 0.6101 MB / 0.8417 GB, free: 168 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.7676, allocations: 0.7141 MB / 0.8424 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.7679, allocations: 247.6 kB / 0.8426 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.7686, allocations: 353.4 kB / 0.843 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.7689, allocations: 225.8 kB / 0.8432 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.7689, allocations: 29.09 kB / 0.8432 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.7704, allocations: 0.8676 MB / 0.8441 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.7705, allocations: 114.8 kB / 0.8442 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.7707, allocations: 172.8 kB / 0.8443 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009772/0.7717, allocations: 0.7507 MB / 0.8451 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7717, allocations: 0 / 0.8451 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7717, allocations: 0 / 0.8451 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.7717, allocations: 0 / 0.8451 GB, free: 14.14 MB / 0.6231 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.0009458/0.7727, allocations: 0.6696 MB / 0.8457 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7727, allocations: 10.19 kB / 0.8457 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.7728, allocations: 51.8 kB / 0.8458 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.7739, allocations: 158.3 kB / 0.8459 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.7745, allocations: 328.3 kB / 0.8462 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.7746, allocations: 14.75 kB / 0.8463 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.7746, allocations: 26.94 kB / 0.8463 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.7752, allocations: 291.7 kB / 0.8466 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7752, allocations: 0 / 0.8466 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.7752, allocations: 10.91 kB / 0.8466 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.7753, allocations: 7.25 kB / 0.8466 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.7756, allocations: 201.5 kB / 0.8468 GB, free: 12.79 MB / 0.6231 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.001394/0.777, allocations: 1.23 MB / 0.848 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.7773, allocations: 145 kB / 0.8481 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.7775, allocations: 96.48 kB / 0.8482 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.778, allocations: 306.4 kB / 0.8485 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.7781, allocations: 33.53 kB / 0.8485 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.7781, allocations: 0 / 0.8485 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0007181/0.7788, allocations: 297.5 kB / 0.8488 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.7788, allocations: 55.41 kB / 0.8489 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.7792, allocations: 321.1 kB / 0.8492 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.7792, allocations: 25.7 kB / 0.8492 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.7793, allocations: 185.6 kB / 0.8494 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.7794, allocations: 61.94 kB / 0.8494 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.7795, allocations: 48.05 kB / 0.8495 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7796, allocations: 342.1 kB / 0.8498 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.7798, allocations: 73.95 kB / 0.8499 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.7799, allocations: 123.9 kB / 0.85 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.7803, allocations: 200.2 kB / 0.8502 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.7803, allocations: 3.938 kB / 0.8502 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000417/0.7807, allocations: 254.5 kB / 0.8504 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.7807, allocations: 5.375 kB / 0.8504 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7807, allocations: 2.375 kB / 0.8504 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7808, allocations: 2.031 kB / 0.8504 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.781, allocations: 59 kB / 0.8505 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.781, allocations: 3.25 kB / 0.8505 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.7812, allocations: 29.11 kB / 0.8505 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.7812, allocations: 13.08 kB / 0.8505 GB, free: 9.688 MB / 0.6231 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.0001317/0.7814, allocations: 151.6 kB / 0.8507 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.7814, allocations: 27 kB / 0.8507 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.7819, allocations: 238.8 kB / 0.8509 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.7819, allocations: 3.984 kB / 0.8509 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7819, allocations: 2.469 kB / 0.8509 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7819, allocations: 0 / 0.8509 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009999/0.7829, allocations: 0.7046 MB / 0.8516 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7829, allocations: 2.375 kB / 0.8516 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.7831, allocations: 39.56 kB / 0.8517 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.7831, allocations: 2.5 kB / 0.8517 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.7832, allocations: 6.219 kB / 0.8517 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.7832, allocations: 7.938 kB / 0.8517 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7832, allocations: 6.75 kB / 0.8517 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.7838, allocations: 453.5 kB / 0.8521 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.7839, allocations: 124.7 kB / 0.8522 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.784, allocations: 4 kB / 0.8522 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.7842, allocations: 11.94 kB / 0.8523 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.7842, allocations: 16.05 kB / 0.8523 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.7842, allocations: 12.73 kB / 0.8523 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002237/0.7845, allocations: 235 kB / 0.8525 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7845, allocations: 0 / 0.8525 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003908/0.7849, allocations: 75.94 kB / 0.8526 GB, free: 7.941 MB / 0.6231 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.001236/0.7861, allocations: 1.052 MB / 0.8536 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.7866, allocations: 181.7 kB / 0.8538 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.7866, allocations: 4.188 kB / 0.8538 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.7868, allocations: 95.81 kB / 0.8539 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008235/0.7876, allocations: 173.6 kB / 0.854 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.7912, allocations: 3.002 MB / 0.857 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.7915, allocations: 0.7873 MB / 0.8577 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.7918, allocations: 70.92 kB / 0.8578 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.7919, allocations: 87.41 kB / 0.8579 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.7919, allocations: 0 / 0.8579 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.8224, allocations: 9.055 MB / 0.8667 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.663, allocations: 4.062 kB / 0.8667 GB, free: 9.434 MB / 0.6387 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/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)