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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.005202/0.005202, allocations: 97.42 kB / 15.73 MB, free: 5.988 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.001288/0.001288, allocations: 187 kB / 16.67 MB, free: 5.918 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.026/1.026, allocations: 143.3 MB / 433.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001875, allocations: 75.88 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3694, allocations: 82.01 MB / 0.6754 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.192/0.5615, allocations: 167.5 MB / 0.8389 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.5642, allocations: 1.561 MB / 0.8405 GB, free: 12.56 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.5645, allocations: 7.938 kB / 0.8405 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.565, allocations: 154.8 kB / 0.8406 GB, free: 12.4 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.5666, allocations: 0.7039 MB / 0.8413 GB, free: 11.7 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.568, allocations: 0.6114 MB / 0.8419 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008229/0.5689, allocations: 0.7137 MB / 0.8426 GB, free: 10.37 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.5693, allocations: 237.1 kB / 0.8428 GB, free: 10.14 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005946/0.5699, allocations: 342.7 kB / 0.8432 GB, free: 9.801 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.5702, allocations: 227 kB / 0.8434 GB, free: 9.578 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.5702, allocations: 24 kB / 0.8434 GB, free: 9.555 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.5717, allocations: 0.8728 MB / 0.8443 GB, free: 8.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.5718, allocations: 103.7 kB / 0.8443 GB, free: 8.578 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.572, allocations: 187 kB / 0.8445 GB, free: 8.395 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.5731, allocations: 0.7524 MB / 0.8453 GB, free: 7.645 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5731, allocations: 0 / 0.8453 GB, free: 7.645 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5731, allocations: 4 kB / 0.8453 GB, free: 7.641 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.5732, allocations: 0 / 0.8453 GB, free: 7.641 MB / 0.67 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.001003/0.5742, allocations: 0.6747 MB / 0.8459 GB, free: 6.918 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5742, allocations: 16.03 kB / 0.8459 GB, free: 6.902 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.5743, allocations: 54.55 kB / 0.846 GB, free: 6.84 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5754, allocations: 159.6 kB / 0.8461 GB, free: 6.684 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.5759, allocations: 318.9 kB / 0.8464 GB, free: 6.332 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.576, allocations: 28.44 kB / 0.8465 GB, free: 6.305 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.576, allocations: 27.94 kB / 0.8465 GB, free: 6.277 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.5765, allocations: 273.9 kB / 0.8468 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5765, allocations: 4 kB / 0.8468 GB, free: 5.988 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.5766, allocations: 15.98 kB / 0.8468 GB, free: 5.973 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.5766, allocations: 8 kB / 0.8468 GB, free: 5.965 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.5771, allocations: 196.9 kB / 0.847 GB, free: 5.773 MB / 0.67 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.001493/0.5786, allocations: 1.235 MB / 0.8482 GB, free: 4.434 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.5789, allocations: 146.5 kB / 0.8483 GB, free: 4.281 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.5791, allocations: 96.8 kB / 0.8484 GB, free: 4.184 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.5797, allocations: 299.2 kB / 0.8487 GB, free: 3.836 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.5797, allocations: 34.5 kB / 0.8487 GB, free: 3.793 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.5797, allocations: 4 kB / 0.8487 GB, free: 3.789 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0008056/0.5806, allocations: 295.4 kB / 0.849 GB, free: 3.496 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.5806, allocations: 55.41 kB / 0.8491 GB, free: 3.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.581, allocations: 324.5 kB / 0.8494 GB, free: 3.105 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.581, allocations: 29.7 kB / 0.8494 GB, free: 3.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.5812, allocations: 184.3 kB / 0.8496 GB, free: 2.887 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.5812, allocations: 63.44 kB / 0.8496 GB, free: 2.824 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.5813, allocations: 41.7 kB / 0.8497 GB, free: 2.777 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5815, allocations: 350.8 kB / 0.85 GB, free: 2.426 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.5817, allocations: 63.95 kB / 0.8501 GB, free: 2.363 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.5819, allocations: 131.9 kB / 0.8502 GB, free: 2.219 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.5823, allocations: 201 kB / 0.8504 GB, free: 2.004 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5823, allocations: 0 / 0.8504 GB, free: 2.004 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000492/0.5828, allocations: 260.2 kB / 0.8506 GB, free: 1.746 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5828, allocations: 4 kB / 0.8507 GB, free: 1.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5829, allocations: 4 kB / 0.8507 GB, free: 1.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5829, allocations: 4 kB / 0.8507 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.5831, allocations: 43.91 kB / 0.8507 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5831, allocations: 4 kB / 0.8507 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.5833, allocations: 39.86 kB / 0.8507 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.5833, allocations: 15.94 kB / 0.8508 GB, free: 1.633 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.0001489/0.5835, allocations: 153.7 kB / 0.8509 GB, free: 1.473 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.5836, allocations: 31.81 kB / 0.8509 GB, free: 1.441 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.5841, allocations: 232.5 kB / 0.8512 GB, free: 1.207 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5841, allocations: 4 kB / 0.8512 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5841, allocations: 0 / 0.8512 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5841, allocations: 7.984 kB / 0.8512 GB, free: 1.195 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.5852, allocations: 0.7069 MB / 0.8519 GB, free: 420 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5852, allocations: 0 / 0.8519 GB, free: 420 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.5854, allocations: 35.92 kB / 0.8519 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5854, allocations: 4 kB / 0.8519 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5855, allocations: 7.938 kB / 0.8519 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5855, allocations: 7.984 kB / 0.8519 GB, free: 364 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5855, allocations: 4 kB / 0.8519 GB, free: 360 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.5862, allocations: 455.1 kB / 0.8523 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.5863, allocations: 124.8 kB / 0.8525 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.5864, allocations: 7.938 kB / 0.8525 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.5866, allocations: 11.98 kB / 0.8525 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.5866, allocations: 19.92 kB / 0.8525 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5866, allocations: 4 kB / 0.8525 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002371/0.5869, allocations: 235 kB / 0.8527 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5869, allocations: 0 / 0.8527 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000385/0.5873, allocations: 87.94 kB / 0.8528 GB, free: 15.38 MB / 0.6856 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.001349/0.5886, allocations: 1.055 MB / 0.8538 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.5891, allocations: 179.7 kB / 0.854 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5891, allocations: 0 / 0.854 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.5894, allocations: 92.5 kB / 0.8541 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.5903, allocations: 169.8 kB / 0.8543 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.5943, allocations: 3.011 MB / 0.8572 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.5947, allocations: 0.7834 MB / 0.858 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.595, allocations: 70.91 kB / 0.858 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.5951, allocations: 91.41 kB / 0.8581 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.5952, allocations: 4 kB / 0.8581 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.6284, allocations: 9.047 MB / 0.867 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.929, allocations: 13.97 kB / 0.867 GB, free: 0.8672 MB / 0.6856 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)