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: 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.001008/0.001008, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001034/0.001034, allocations: 177.3 kB / 15.94 MB, free: 228 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.283/1.283, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9526/0.9526, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 8 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 83.41 MB / 0.5973 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.3853/0.5303, allocations: 140.2 MB / 0.7342 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.5334, allocations: 1.587 MB / 0.7358 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.5337, allocations: 9.312 kB / 0.7358 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.5344, allocations: 168.4 kB / 0.7359 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.5359, allocations: 0.5239 MB / 0.7364 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.5374, allocations: 487.8 kB / 0.7369 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.5381, allocations: 440.6 kB / 0.7373 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.5385, allocations: 197 kB / 0.7375 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008096/0.5393, allocations: 339.1 kB / 0.7378 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.5396, allocations: 164.5 kB / 0.738 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.5396, allocations: 16 kB / 0.738 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5407, allocations: 421.5 kB / 0.7384 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.5409, allocations: 91.81 kB / 0.7385 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.189e-05/0.5409, allocations: 85.52 kB / 0.7386 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.5415, allocations: 418.3 kB / 0.739 GB, free: 10 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.5416, allocations: 0 / 0.739 GB, free: 10 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5416, allocations: 0 / 0.739 GB, free: 10 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5416, allocations: 0 / 0.739 GB, free: 10 MB / 0.5606 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.0008614/0.5424, allocations: 0.6056 MB / 0.7396 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.5425, allocations: 8.688 kB / 0.7396 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.5437, allocations: 165 kB / 0.7397 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.5441, allocations: 305.1 kB / 0.74 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.5442, allocations: 24.56 kB / 0.7401 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.5442, allocations: 24 kB / 0.7401 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.5447, allocations: 284 kB / 0.7403 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5448, allocations: 0 / 0.7403 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.5448, allocations: 8 kB / 0.7404 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5448, allocations: 8 kB / 0.7404 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.5453, allocations: 207.8 kB / 0.7406 GB, free: 8.477 MB / 0.5606 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.001454/0.5467, allocations: 1.238 MB / 0.7418 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.547, allocations: 149.7 kB / 0.7419 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.5474, allocations: 137.4 kB / 0.742 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.5475, allocations: 34.56 kB / 0.7421 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.5475, allocations: 0 / 0.7421 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0008325/0.5483, allocations: 310.8 kB / 0.7424 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.5484, allocations: 59.41 kB / 0.7424 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.5487, allocations: 317.6 kB / 0.7427 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.5488, allocations: 33.7 kB / 0.7428 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.5489, allocations: 183.3 kB / 0.7429 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.549, allocations: 60.31 kB / 0.743 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.549, allocations: 4 kB / 0.743 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5491, allocations: 340.8 kB / 0.7433 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.5493, allocations: 77.11 kB / 0.7434 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.5496, allocations: 127.2 kB / 0.7435 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.5498, allocations: 92.31 kB / 0.7436 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5498, allocations: 0 / 0.7436 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005213/0.5503, allocations: 271.3 kB / 0.7439 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5503, allocations: 8.562 kB / 0.7439 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5504, allocations: 0 / 0.7439 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5504, allocations: 4 kB / 0.7439 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.5506, allocations: 42.75 kB / 0.7439 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5506, allocations: 7.938 kB / 0.7439 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.5508, allocations: 44.73 kB / 0.744 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.5509, allocations: 12.66 kB / 0.744 GB, free: 5.121 MB / 0.5606 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.0001564/0.5511, allocations: 147.4 kB / 0.7441 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.5511, allocations: 35.58 kB / 0.7442 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.5516, allocations: 248.4 kB / 0.7444 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5517, allocations: 0 / 0.7444 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5517, allocations: 0 / 0.7444 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.5517, allocations: 1.219 kB / 0.7444 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.5528, allocations: 0.7114 MB / 0.7451 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5528, allocations: 4.828 kB / 0.7451 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.553, allocations: 38.03 kB / 0.7451 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5531, allocations: 4 kB / 0.7451 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.5531, allocations: 8.516 kB / 0.7451 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.5531, allocations: 4.547 kB / 0.7451 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5531, allocations: 4.875 kB / 0.7451 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.5538, allocations: 0.5454 MB / 0.7457 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.554, allocations: 120 kB / 0.7458 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.554, allocations: 4.609 kB / 0.7458 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.5542, allocations: 23.69 kB / 0.7458 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.5543, allocations: 20.58 kB / 0.7458 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5543, allocations: 8 kB / 0.7459 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002324/0.5546, allocations: 232 kB / 0.7461 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5546, allocations: 0 / 0.7461 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004234/0.555, allocations: 86.11 kB / 0.7462 GB, free: 2.945 MB / 0.5606 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.0003561/0.5554, allocations: 168.1 kB / 0.7463 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.5558, allocations: 195.2 kB / 0.7465 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5558, allocations: 0 / 0.7465 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.556, allocations: 102.1 kB / 0.7466 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/0.5569, allocations: 152 kB / 0.7467 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.5579, allocations: 0.7448 MB / 0.7475 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.5583, allocations: 0.7931 MB / 0.7482 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002303/0.5585, allocations: 59.7 kB / 0.7483 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.5586, allocations: 23.44 kB / 0.7483 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5586, allocations: 4 kB / 0.7483 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of Templates: time 0.01081/0.5694, allocations: 5.357 MB / 0.7536 GB, free: 11.88 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: