Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001282/0.001282, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.001278/0.001279, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.255/1.255, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 281.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 99.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3711, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1643/0.5354, allocations: 167.4 MB / 0.9305 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.5381, allocations: 1.557 MB / 0.9321 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.5386, allocations: 19.88 kB / 0.9321 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.5391, allocations: 146.9 kB / 0.9322 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.5407, allocations: 0.7039 MB / 0.9329 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.5422, allocations: 0.6106 MB / 0.9335 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008793/0.5431, allocations: 0.7176 MB / 0.9342 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.5435, allocations: 233.1 kB / 0.9344 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.5442, allocations: 342.7 kB / 0.9348 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.5446, allocations: 231 kB / 0.935 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.5446, allocations: 24 kB / 0.935 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.546, allocations: 0.8728 MB / 0.9359 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.5462, allocations: 99.7 kB / 0.9359 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.5464, allocations: 179.1 kB / 0.9361 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.5475, allocations: 0.735 MB / 0.9368 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5475, allocations: 0 / 0.9368 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5475, allocations: 0 / 0.9368 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.5475, allocations: 0 / 0.9368 GB, free: 5.41 MB / 0.7012 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.0009972/0.5485, allocations: 0.67 MB / 0.9375 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5486, allocations: 8.031 kB / 0.9375 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.5498, allocations: 159.4 kB / 0.9376 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.5503, allocations: 318.7 kB / 0.938 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.5504, allocations: 16.56 kB / 0.938 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.5504, allocations: 31.88 kB / 0.938 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.551, allocations: 289.8 kB / 0.9383 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.551, allocations: 0 / 0.9383 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.551, allocations: 12 kB / 0.9383 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.551, allocations: 4 kB / 0.9383 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.5515, allocations: 200.9 kB / 0.9385 GB, free: 3.617 MB / 0.7012 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.001482/0.553, allocations: 1.223 MB / 0.9397 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.5533, allocations: 158.3 kB / 0.9398 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.5535, allocations: 96.8 kB / 0.9399 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005718/0.5541, allocations: 299.2 kB / 0.9402 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5541, allocations: 42.56 kB / 0.9402 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.5541, allocations: 0 / 0.9402 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17): time 0.0007916/0.5549, allocations: 289.4 kB / 0.9405 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.555, allocations: 51.41 kB / 0.9406 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.5553, allocations: 324.5 kB / 0.9409 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.5554, allocations: 29.7 kB / 0.9409 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.5555, allocations: 188.2 kB / 0.9411 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.5556, allocations: 55.11 kB / 0.9411 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.5556, allocations: 45.7 kB / 0.9412 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5558, allocations: 342.8 kB / 0.9415 GB, free: 288 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.5559, allocations: 67.95 kB / 0.9416 GB, free: 220 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.5562, allocations: 131.9 kB / 0.9417 GB, free: 72 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.5566, allocations: 207.9 kB / 0.9419 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5566, allocations: 4 kB / 0.9419 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004714/0.5571, allocations: 253 kB / 0.9421 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.5571, allocations: 4 kB / 0.9421 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5571, allocations: 0 / 0.9421 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5571, allocations: 4 kB / 0.9422 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.5573, allocations: 51.91 kB / 0.9422 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5574, allocations: 96 / 0.9422 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.5576, allocations: 39.67 kB / 0.9422 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.5576, allocations: 8 kB / 0.9422 GB, free: 15.49 MB / 0.7169 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.0001335/0.5577, allocations: 149.7 kB / 0.9424 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.5578, allocations: 35.77 kB / 0.9424 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.5583, allocations: 235.8 kB / 0.9426 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5583, allocations: 3.938 kB / 0.9427 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5583, allocations: 4 kB / 0.9427 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5584, allocations: 120.7 kB / 0.9428 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.5585, allocations: 8 kB / 0.9428 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.5586, allocations: 4 kB / 0.9428 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.5587, allocations: 11.92 kB / 0.9428 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000515/0.5592, allocations: 288.7 kB / 0.9431 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006365/0.5599, allocations: 478.2 kB / 0.9435 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001681/0.56, allocations: 78.75 kB / 0.9436 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002035/0.5602, allocations: 231 kB / 0.9438 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of Backend: time 3.71e-07/0.5603, allocations: 0 / 0.9438 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.5614, allocations: 387.4 kB / 0.9442 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001451/0.5628, allocations: 1.143 MB / 0.9453 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of Templates: time 0.01327/0.5761, allocations: 8.036 MB / 0.9532 GB, free: 4.324 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)