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.0009724/0.0009722, allocations: 93.34 kB / 16.02 MB, free: 84 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.0009249/0.0009248, allocations: 177 kB / 16.92 MB, free: 6.68 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6717/0.6717, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 8 kB / 495.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 77.53 MB / 0.56 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4585/0.6083, allocations: 163 MB / 0.7192 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002831/0.6112, allocations: 1.555 MB / 0.7207 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.6117, allocations: 11.88 kB / 0.7207 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.6123, allocations: 115.2 kB / 0.7209 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.6142, allocations: 0.6809 MB / 0.7215 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.6158, allocations: 0.5402 MB / 0.722 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.6169, allocations: 0.9906 MB / 0.723 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.6173, allocations: 191.6 kB / 0.7232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.618, allocations: 322.7 kB / 0.7235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.6184, allocations: 231 kB / 0.7237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.6185, allocations: 12 kB / 0.7237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.6201, allocations: 1.013 MB / 0.7247 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.6203, allocations: 103.7 kB / 0.7248 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.6205, allocations: 180.9 kB / 0.725 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.6216, allocations: 0.775 MB / 0.7258 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6216, allocations: 4 kB / 0.7258 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.855e-06/0.6217, allocations: 0 / 0.7258 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.6217, allocations: 3.938 kB / 0.7258 GB, free: 12.96 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.0008889/0.6226, allocations: 0.6085 MB / 0.7264 GB, free: 12.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6226, allocations: 12.03 kB / 0.7264 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.063e-05/0.6227, allocations: 54.55 kB / 0.7264 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.6239, allocations: 159.3 kB / 0.7266 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.6243, allocations: 306.7 kB / 0.7269 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.6243, allocations: 16.56 kB / 0.7269 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.6244, allocations: 27.94 kB / 0.7269 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.6249, allocations: 289.8 kB / 0.7272 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6249, allocations: 7.922 kB / 0.7272 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.6249, allocations: 15.98 kB / 0.7272 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.625, allocations: 4 kB / 0.7272 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.6254, allocations: 212.9 kB / 0.7274 GB, free: 11.16 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.001414/0.6268, allocations: 1.23 MB / 0.7286 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.6271, allocations: 154.4 kB / 0.7288 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.6273, allocations: 100.8 kB / 0.7289 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.628, allocations: 319.2 kB / 0.7292 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.628, allocations: 35.44 kB / 0.7292 GB, free: 9.148 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 3.507e-06/0.628, allocations: 0 / 0.7292 GB, free: 9.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0007955/0.6288, allocations: 319.5 kB / 0.7295 GB, free: 8.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.6289, allocations: 51.41 kB / 0.7295 GB, free: 8.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.6292, allocations: 324.5 kB / 0.7299 GB, free: 8.441 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.6292, allocations: 29.7 kB / 0.7299 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.6294, allocations: 184.1 kB / 0.7301 GB, free: 8.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.6294, allocations: 59.19 kB / 0.7301 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.6295, allocations: 25.72 kB / 0.7301 GB, free: 8.133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.6296, allocations: 342.8 kB / 0.7305 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.6298, allocations: 71.95 kB / 0.7305 GB, free: 7.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.6301, allocations: 135.5 kB / 0.7307 GB, free: 7.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.6304, allocations: 205 kB / 0.7309 GB, free: 7.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6305, allocations: 7.938 kB / 0.7309 GB, free: 7.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004941/0.631, allocations: 262.6 kB / 0.7311 GB, free: 7.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.631, allocations: 4 kB / 0.7311 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.631, allocations: 4.094 kB / 0.7311 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.631, allocations: 4 kB / 0.7311 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.6312, allocations: 47.91 kB / 0.7312 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.6313, allocations: 4 kB / 0.7312 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.6315, allocations: 35.73 kB / 0.7312 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.6315, allocations: 13.06 kB / 0.7312 GB, free: 6.973 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.0001512/0.6317, allocations: 165.6 kB / 0.7314 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.6318, allocations: 27.62 kB / 0.7314 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.6323, allocations: 240.7 kB / 0.7316 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6323, allocations: 4 kB / 0.7316 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6323, allocations: 4 kB / 0.7317 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6323, allocations: 3.938 kB / 0.7317 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.6334, allocations: 0.7108 MB / 0.7323 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.6334, allocations: 4 kB / 0.7324 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.6336, allocations: 39.91 kB / 0.7324 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6336, allocations: 4.219 kB / 0.7324 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.6337, allocations: 12 kB / 0.7324 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.6337, allocations: 3.938 kB / 0.7324 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6337, allocations: 4.094 kB / 0.7324 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.6344, allocations: 471 kB / 0.7329 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.6345, allocations: 120.7 kB / 0.733 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.6346, allocations: 8 kB / 0.733 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.6348, allocations: 23.92 kB / 0.733 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.6348, allocations: 15.92 kB / 0.733 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.6349, allocations: 4 kB / 0.733 GB, free: 4.984 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000226/0.6351, allocations: 239.1 kB / 0.7333 GB, free: 4.754 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6351, allocations: 0 / 0.7333 GB, free: 4.754 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004385/0.6355, allocations: 83.84 kB / 0.7333 GB, free: 4.672 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.001293/0.6369, allocations: 1.059 MB / 0.7344 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.6373, allocations: 193.5 kB / 0.7346 GB, free: 3.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6373, allocations: 0 / 0.7346 GB, free: 3.383 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.6375, allocations: 96.45 kB / 0.7346 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6386, allocations: 163.9 kB / 0.7348 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.6426, allocations: 3.178 MB / 0.7379 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.6429, allocations: 0.7758 MB / 0.7387 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002426/0.6432, allocations: 66.92 kB / 0.7387 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.6433, allocations: 95.41 kB / 0.7388 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.6433, allocations: 0 / 0.7388 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.6634, allocations: 8.41 MB / 0.747 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.6637, allocations: 234.8 kB / 0.7473 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.664, allocations: 0 / 0.7473 GB, free: 6.379 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)