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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 114.5 kB / 16.37 MB, free: 5.984 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.001151/0.001152, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 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.8852/0.8852, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3009, allocations: 82.04 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4565/0.7575, allocations: 167.4 MB / 0.7592 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.7597, allocations: 1.568 MB / 0.7607 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.76, allocations: 13.84 kB / 0.7608 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.7604, allocations: 143.2 kB / 0.7609 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.7618, allocations: 0.71 MB / 0.7616 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.7632, allocations: 0.5972 MB / 0.7622 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007495/0.764, allocations: 0.7182 MB / 0.7629 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.7643, allocations: 230.7 kB / 0.7631 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/0.7649, allocations: 352 kB / 0.7634 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.7652, allocations: 228 kB / 0.7636 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.7652, allocations: 23.59 kB / 0.7637 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.7666, allocations: 0.8696 MB / 0.7645 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.7668, allocations: 108.4 kB / 0.7646 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.7669, allocations: 173.3 kB / 0.7648 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.768, allocations: 0.749 MB / 0.7655 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.768, allocations: 0 / 0.7655 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.768, allocations: 0.9062 kB / 0.7655 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.768, allocations: 0 / 0.7655 GB, free: 1.559 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.0009921/0.769, allocations: 0.6634 MB / 0.7662 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.7691, allocations: 9.281 kB / 0.7662 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.7702, allocations: 160 kB / 0.7663 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.7707, allocations: 329.4 kB / 0.7666 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.7707, allocations: 21.19 kB / 0.7667 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.7708, allocations: 22.25 kB / 0.7667 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.7713, allocations: 285.5 kB / 0.767 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.7714, allocations: 8.031 kB / 0.767 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.7714, allocations: 11.3 kB / 0.767 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.7714, allocations: 5.719 kB / 0.767 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.7718, allocations: 202.4 kB / 0.7672 GB, free: 16.73 MB / 0.5919 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.001391/0.7732, allocations: 1.223 MB / 0.7684 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.7735, allocations: 155.9 kB / 0.7685 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.7737, allocations: 97.64 kB / 0.7686 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.7743, allocations: 305.8 kB / 0.7689 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.7744, allocations: 32.34 kB / 0.7689 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.7744, allocations: 0.875 kB / 0.7689 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0008771/0.7753, allocations: 294.3 kB / 0.7692 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.7753, allocations: 55.28 kB / 0.7693 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.7756, allocations: 333 kB / 0.7696 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.7756, allocations: 29.33 kB / 0.7696 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.7757, allocations: 181.7 kB / 0.7698 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.7758, allocations: 60.09 kB / 0.7698 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.7758, allocations: 52.38 kB / 0.7699 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.776, allocations: 339.6 kB / 0.7702 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.7761, allocations: 71.75 kB / 0.7703 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.7763, allocations: 127.9 kB / 0.7704 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.7766, allocations: 194.9 kB / 0.7706 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7766, allocations: 1.203 kB / 0.7706 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004183/0.7771, allocations: 255.8 kB / 0.7708 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7771, allocations: 5.469 kB / 0.7708 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7771, allocations: 0.875 kB / 0.7708 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.7771, allocations: 2.562 kB / 0.7708 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.7773, allocations: 45.28 kB / 0.7709 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7773, allocations: 2.938 kB / 0.7709 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.7775, allocations: 33.2 kB / 0.7709 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.7776, allocations: 14.34 kB / 0.7709 GB, free: 14.65 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.0001334/0.7777, allocations: 151.5 kB / 0.7711 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.7778, allocations: 33.34 kB / 0.7711 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.7782, allocations: 234.7 kB / 0.7713 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.7782, allocations: 2.562 kB / 0.7713 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7782, allocations: 0.9375 kB / 0.7713 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.7783, allocations: 3.938 kB / 0.7713 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/0.7792, allocations: 0.7093 MB / 0.772 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7792, allocations: 2.188 kB / 0.772 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.7794, allocations: 36.38 kB / 0.7721 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.7794, allocations: 2.281 kB / 0.7721 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.7794, allocations: 5.719 kB / 0.7721 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.7795, allocations: 12.84 kB / 0.7721 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7795, allocations: 2.344 kB / 0.7721 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.7801, allocations: 456.5 kB / 0.7725 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.7802, allocations: 120.9 kB / 0.7726 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.7802, allocations: 5.391 kB / 0.7726 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.7804, allocations: 12.44 kB / 0.7727 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.7805, allocations: 19.14 kB / 0.7727 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.7805, allocations: 5.625 kB / 0.7727 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002101/0.7807, allocations: 235.3 kB / 0.7729 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.212e-06/0.7807, allocations: 0 / 0.7729 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003925/0.7811, allocations: 89.55 kB / 0.773 GB, free: 13.69 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.0003765/0.7815, allocations: 160.6 kB / 0.7731 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004757/0.782, allocations: 186.9 kB / 0.7733 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.782, allocations: 0.5 kB / 0.7733 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.7822, allocations: 94.14 kB / 0.7734 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.783, allocations: 174.1 kB / 0.7736 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009393/0.784, allocations: 0.6302 MB / 0.7742 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.7843, allocations: 0.7844 MB / 0.775 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001786/0.7845, allocations: 63.62 kB / 0.775 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.7845, allocations: 27.12 kB / 0.775 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.7846, allocations: 0 / 0.775 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.009539/0.7941, allocations: 5.837 MB / 0.7807 GB, free: 12.35 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)