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.001158/0.001158, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001229/0.00123, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.247/1.247, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6774/0.6774, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 71.88 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2905, allocations: 76.17 MB / 0.556 GB, free: 36.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.15/0.4405, allocations: 165.1 MB / 0.7173 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.4429, allocations: 1.551 MB / 0.7188 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.4432, allocations: 15.88 kB / 0.7188 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.4436, allocations: 119.3 kB / 0.7189 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.445, allocations: 0.6653 MB / 0.7196 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.4463, allocations: 0.5521 MB / 0.7201 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007275/0.447, allocations: 0.7254 MB / 0.7208 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.4473, allocations: 229 kB / 0.721 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.4479, allocations: 346.7 kB / 0.7214 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.4482, allocations: 247 kB / 0.7216 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.4483, allocations: 24 kB / 0.7216 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4495, allocations: 0.8922 MB / 0.7225 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.4496, allocations: 115.7 kB / 0.7226 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.4498, allocations: 167.2 kB / 0.7228 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.4507, allocations: 0.7868 MB / 0.7235 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4508, allocations: 0 / 0.7235 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4508, allocations: 0 / 0.7235 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.4508, allocations: 4 kB / 0.7235 GB, free: 8.699 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.0008542/0.4516, allocations: 0.6584 MB / 0.7242 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.4517, allocations: 11.97 kB / 0.7242 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.4517, allocations: 54.55 kB / 0.7243 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.4529, allocations: 159.3 kB / 0.7244 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.4532, allocations: 318.7 kB / 0.7247 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4533, allocations: 20.5 kB / 0.7247 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.4533, allocations: 20 kB / 0.7247 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.4538, allocations: 277.9 kB / 0.725 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4538, allocations: 3.938 kB / 0.725 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.4538, allocations: 12 kB / 0.725 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4538, allocations: 8 kB / 0.725 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.4542, allocations: 208.9 kB / 0.7252 GB, free: 6.852 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.001276/0.4555, allocations: 1.223 MB / 0.7264 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.4558, allocations: 154.4 kB / 0.7266 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.456, allocations: 92.8 kB / 0.7267 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.4566, allocations: 307.2 kB / 0.727 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.4566, allocations: 34.88 kB / 0.727 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.4566, allocations: 3.938 kB / 0.727 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0007454/0.4574, allocations: 295 kB / 0.7273 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.4574, allocations: 51.41 kB / 0.7273 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.4577, allocations: 324.5 kB / 0.7276 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.4577, allocations: 29.7 kB / 0.7277 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4578, allocations: 184.1 kB / 0.7278 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.4579, allocations: 63.09 kB / 0.7279 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.458, allocations: 49.7 kB / 0.7279 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.4581, allocations: 342.8 kB / 0.7283 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4582, allocations: 63.95 kB / 0.7283 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.4584, allocations: 129.9 kB / 0.7285 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.4588, allocations: 207.2 kB / 0.7287 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4588, allocations: 0 / 0.7287 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004456/0.4592, allocations: 245 kB / 0.7289 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4593, allocations: 8 kB / 0.7289 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4593, allocations: 0 / 0.7289 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4593, allocations: 4 kB / 0.7289 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.4595, allocations: 59.94 kB / 0.729 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4595, allocations: 0 / 0.729 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.4597, allocations: 31.67 kB / 0.729 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.4598, allocations: 12 kB / 0.729 GB, free: 2.723 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.4599, allocations: 157.7 kB / 0.7292 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.46, allocations: 27.72 kB / 0.7292 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.4604, allocations: 232.6 kB / 0.7294 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4604, allocations: 4 kB / 0.7294 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4604, allocations: 0 / 0.7294 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4604, allocations: 4 kB / 0.7294 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.4614, allocations: 0.7068 MB / 0.7301 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4615, allocations: 0 / 0.7301 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.4616, allocations: 35.97 kB / 0.7301 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4616, allocations: 4 kB / 0.7301 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4617, allocations: 16.16 kB / 0.7302 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4617, allocations: 0 / 0.7302 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4617, allocations: 7.938 kB / 0.7302 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.4623, allocations: 447.2 kB / 0.7306 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4624, allocations: 132.6 kB / 0.7307 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.4625, allocations: 3.938 kB / 0.7307 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.4627, allocations: 24.05 kB / 0.7307 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.4627, allocations: 7.984 kB / 0.7307 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.4627, allocations: 12 kB / 0.7308 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001997/0.4629, allocations: 227 kB / 0.731 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.463, allocations: 4 kB / 0.731 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003764/0.4633, allocations: 83.84 kB / 0.7311 GB, free: 484 kB / 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 (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.001121/0.4645, allocations: 1.049 MB / 0.7321 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.4649, allocations: 195.7 kB / 0.7323 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.4649, allocations: 0 / 0.7323 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4651, allocations: 95.77 kB / 0.7324 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000858/0.466, allocations: 172.6 kB / 0.7325 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.4694, allocations: 3.105 MB / 0.7356 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.4697, allocations: 0.7834 MB / 0.7363 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.47, allocations: 66.92 kB / 0.7364 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4701, allocations: 91.41 kB / 0.7365 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.4701, allocations: 0 / 0.7365 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6547/1.125, allocations: 8.779 MB / 0.745 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.125, allocations: 220.4 kB / 0.7453 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/3.247, allocations: 4 kB / 0.7453 GB, free: 1.922 MB / 0.5762 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)