Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_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.001145/0.001145, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.313/1.313, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.655/0.655, allocations: 115.3 MB / 406 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 60.5 kB / 493 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 76.18 MB / 0.5558 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.3971/0.5375, allocations: 165.1 MB / 0.7171 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.5396, allocations: 1.573 MB / 0.7187 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.5398, allocations: 7.938 kB / 0.7187 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.5401, allocations: 115.2 kB / 0.7188 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.5413, allocations: 0.673 MB / 0.7194 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009811/0.5423, allocations: 0.5536 MB / 0.72 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.5431, allocations: 0.9828 MB / 0.7209 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.5433, allocations: 197.4 kB / 0.7211 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.5438, allocations: 326.7 kB / 0.7214 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.5441, allocations: 235 kB / 0.7217 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.5441, allocations: 16 kB / 0.7217 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.5454, allocations: 1.009 MB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.5455, allocations: 103.7 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.5457, allocations: 163.2 kB / 0.7229 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000888/0.5466, allocations: 0.7751 MB / 0.7237 GB, free: 11.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5466, allocations: 0 / 0.7237 GB, free: 11.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5466, allocations: 4 kB / 0.7237 GB, free: 11.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.5466, allocations: 7.938 kB / 0.7237 GB, free: 11.27 MB / 0.545 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.0008144/0.5474, allocations: 0.6591 MB / 0.7243 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5475, allocations: 8.031 kB / 0.7243 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.5475, allocations: 54.55 kB / 0.7244 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.5486, allocations: 163.3 kB / 0.7245 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.549, allocations: 310.7 kB / 0.7248 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.549, allocations: 20.56 kB / 0.7249 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.5491, allocations: 27.94 kB / 0.7249 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.5495, allocations: 273.9 kB / 0.7251 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.5495, allocations: 3.938 kB / 0.7251 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.5496, allocations: 12 kB / 0.7252 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5496, allocations: 11.98 kB / 0.7252 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.55, allocations: 204.9 kB / 0.7254 GB, free: 9.43 MB / 0.545 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.001228/0.5512, allocations: 1.219 MB / 0.7266 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.5515, allocations: 150.4 kB / 0.7267 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.5517, allocations: 97.69 kB / 0.7268 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/0.5523, allocations: 303.2 kB / 0.7271 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5523, allocations: 34.88 kB / 0.7271 GB, free: 7.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.5523, allocations: 0 / 0.7271 GB, free: 7.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0007185/0.553, allocations: 291.7 kB / 0.7274 GB, free: 7.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5531, allocations: 55.41 kB / 0.7274 GB, free: 7.102 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.5533, allocations: 320.5 kB / 0.7277 GB, free: 6.777 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.5534, allocations: 33.7 kB / 0.7278 GB, free: 6.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.5535, allocations: 188 kB / 0.728 GB, free: 6.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.5536, allocations: 63.09 kB / 0.728 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.5536, allocations: 49.58 kB / 0.7281 GB, free: 6.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5537, allocations: 342.8 kB / 0.7284 GB, free: 6.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.5539, allocations: 63.95 kB / 0.7285 GB, free: 6.027 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.5541, allocations: 129.1 kB / 0.7286 GB, free: 5.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.5545, allocations: 197 kB / 0.7288 GB, free: 5.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5545, allocations: 3.938 kB / 0.7288 GB, free: 5.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004482/0.5549, allocations: 256.9 kB / 0.729 GB, free: 5.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.555, allocations: 7.938 kB / 0.729 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.555, allocations: 4 kB / 0.729 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.555, allocations: 0 / 0.729 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.5552, allocations: 52 kB / 0.7291 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5552, allocations: 4 kB / 0.7291 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.5554, allocations: 31.73 kB / 0.7291 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.5554, allocations: 8 kB / 0.7291 GB, free: 5.309 MB / 0.545 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.5556, allocations: 161.6 kB / 0.7293 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.5556, allocations: 27.72 kB / 0.7293 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.5561, allocations: 236.6 kB / 0.7295 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.5561, allocations: 0 / 0.7295 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.5561, allocations: 0 / 0.7295 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5561, allocations: 0 / 0.7295 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.5571, allocations: 0.7107 MB / 0.7302 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5571, allocations: 4 kB / 0.7302 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.5573, allocations: 31.92 kB / 0.7303 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5573, allocations: 4.219 kB / 0.7303 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5573, allocations: 12 kB / 0.7303 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.5573, allocations: 7.938 kB / 0.7303 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5573, allocations: 3.938 kB / 0.7303 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.5579, allocations: 447.5 kB / 0.7307 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.558, allocations: 124.7 kB / 0.7308 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.5581, allocations: 8 kB / 0.7308 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5583, allocations: 19.98 kB / 0.7309 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.5583, allocations: 19.92 kB / 0.7309 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5583, allocations: 4 kB / 0.7309 GB, free: 3.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001997/0.5585, allocations: 231 kB / 0.7311 GB, free: 3.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5585, allocations: 96 / 0.7311 GB, free: 3.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003423/0.5589, allocations: 95.77 kB / 0.7312 GB, free: 3.047 MB / 0.545 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.00105/0.56, allocations: 1.036 MB / 0.7322 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.5604, allocations: 195.7 kB / 0.7324 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5604, allocations: 0 / 0.7324 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.5606, allocations: 87.89 kB / 0.7325 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/0.5614, allocations: 162.7 kB / 0.7326 GB, free: 1.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.5647, allocations: 3.112 MB / 0.7357 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.565, allocations: 0.7797 MB / 0.7364 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.5653, allocations: 66.92 kB / 0.7365 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5654, allocations: 95.41 kB / 0.7366 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5654, allocations: 3.938 kB / 0.7366 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2037/0.7691, allocations: 8.521 MB / 0.7449 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.7693, allocations: 227 kB / 0.7451 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.734, allocations: 6.938 kB / 0.7451 GB, free: 4.707 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)