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.001008/0.001008, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009934/0.0009934, allocations: 190.5 kB / 16.25 MB, free: 6.617 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.271/1.271, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.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.9194/0.9194, allocations: 143 MB / 433.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.89 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1433, allocations: 82.04 MB / 0.5939 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4365/0.5799, allocations: 165.2 MB / 0.7552 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.5827, allocations: 1.543 MB / 0.7567 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.5832, allocations: 15.88 kB / 0.7567 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.5837, allocations: 128.4 kB / 0.7569 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.5853, allocations: 0.6653 MB / 0.7575 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.5867, allocations: 0.5664 MB / 0.7581 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.5875, allocations: 0.7176 MB / 0.7588 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.5879, allocations: 225 kB / 0.759 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000587/0.5885, allocations: 346.7 kB / 0.7593 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.5887, allocations: 243 kB / 0.7595 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.5888, allocations: 24 kB / 0.7596 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.59, allocations: 0.8961 MB / 0.7604 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.5902, allocations: 115.7 kB / 0.7605 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.5903, allocations: 171.1 kB / 0.7607 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009864/0.5913, allocations: 0.8064 MB / 0.7615 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5913, allocations: 0 / 0.7615 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5913, allocations: 1.031 kB / 0.7615 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5914, allocations: 0 / 0.7615 GB, free: 2.02 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.0008993/0.5923, allocations: 0.67 MB / 0.7621 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5923, allocations: 8.031 kB / 0.7622 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.5924, allocations: 58.53 kB / 0.7622 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5935, allocations: 155.4 kB / 0.7624 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.5939, allocations: 306.7 kB / 0.7626 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5939, allocations: 16.56 kB / 0.7627 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.594, allocations: 27.94 kB / 0.7627 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.5944, allocations: 289.8 kB / 0.763 GB, free: 408 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5945, allocations: 0 / 0.763 GB, free: 408 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/0.5945, allocations: 15.94 kB / 0.763 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5945, allocations: 4 kB / 0.763 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.5949, allocations: 204.9 kB / 0.7632 GB, free: 184 kB / 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.001317/0.5962, allocations: 1.227 MB / 0.7644 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.5965, allocations: 150.4 kB / 0.7645 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.5967, allocations: 100.8 kB / 0.7646 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/0.5973, allocations: 299.2 kB / 0.7649 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5974, allocations: 38.56 kB / 0.7649 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.5974, allocations: 0 / 0.7649 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007509/0.5981, allocations: 294.3 kB / 0.7652 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.5982, allocations: 55.31 kB / 0.7653 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.5985, allocations: 320.5 kB / 0.7656 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.5985, allocations: 33.7 kB / 0.7656 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.5987, allocations: 184.2 kB / 0.7658 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.5987, allocations: 59.11 kB / 0.7658 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.5988, allocations: 45.7 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5989, allocations: 338.8 kB / 0.7662 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.5991, allocations: 67.94 kB / 0.7663 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.5993, allocations: 128.5 kB / 0.7664 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.5997, allocations: 198 kB / 0.7666 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5997, allocations: 7.938 kB / 0.7666 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004591/0.6001, allocations: 258.8 kB / 0.7668 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6002, allocations: 4 kB / 0.7668 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6002, allocations: 4.438 kB / 0.7669 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6002, allocations: 4 kB / 0.7669 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.6004, allocations: 43.97 kB / 0.7669 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6004, allocations: 3.938 kB / 0.7669 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.6006, allocations: 44.39 kB / 0.7669 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.6007, allocations: 12 kB / 0.767 GB, free: 12.05 MB / 0.5919 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.0001347/0.6008, allocations: 145.8 kB / 0.7671 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.6009, allocations: 31.62 kB / 0.7671 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/0.6014, allocations: 244.5 kB / 0.7674 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6014, allocations: 0 / 0.7674 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.6014, allocations: 0 / 0.7674 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6014, allocations: 0 / 0.7674 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000987/0.6024, allocations: 0.7029 MB / 0.768 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6024, allocations: 4.094 kB / 0.768 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.6026, allocations: 35.91 kB / 0.7681 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.6026, allocations: 4 kB / 0.7681 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.6026, allocations: 8 kB / 0.7681 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.6026, allocations: 7.875 kB / 0.7681 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6026, allocations: 4 kB / 0.7681 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.6033, allocations: 449.1 kB / 0.7685 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6034, allocations: 121.4 kB / 0.7686 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.6035, allocations: 11.98 kB / 0.7687 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.6037, allocations: 15.92 kB / 0.7687 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.6037, allocations: 20.05 kB / 0.7687 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.6038, allocations: 4 kB / 0.7687 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002419/0.604, allocations: 235 kB / 0.7689 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/0.604, allocations: 0 / 0.7689 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004209/0.6044, allocations: 79.84 kB / 0.769 GB, free: 9.809 MB / 0.5919 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.001205/0.6056, allocations: 1.048 MB / 0.77 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.6061, allocations: 189.6 kB / 0.7702 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6061, allocations: 4.188 kB / 0.7702 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.6063, allocations: 91.83 kB / 0.7703 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008793/0.6072, allocations: 166 kB / 0.7705 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.6109, allocations: 3.114 MB / 0.7735 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.6112, allocations: 0.7795 MB / 0.7743 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.6115, allocations: 69.91 kB / 0.7743 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.6116, allocations: 95.41 kB / 0.7744 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.6117, allocations: 0 / 0.7744 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2313/0.843, allocations: 8.793 MB / 0.783 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.8432, allocations: 243.9 kB / 0.7832 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.83, allocations: 4 kB / 0.7832 GB, free: 11.28 MB / 0.6075 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)