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.000715/0.0007149, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007416/0.0007416, allocations: 175 kB / 16.58 MB, free: 6.402 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.188/1.188, allocations: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5928/0.5928, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 8 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.3701/0.4974, allocations: 152.1 MB / 0.7054 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4994, allocations: 1.48 MB / 0.7068 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.4996, allocations: 11.94 kB / 0.7069 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.5, allocations: 111.1 kB / 0.707 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.501, allocations: 0.5053 MB / 0.7075 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.502, allocations: 454.7 kB / 0.7079 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006916/0.5027, allocations: 0.8464 MB / 0.7087 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.503, allocations: 183.8 kB / 0.7089 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.5035, allocations: 310.7 kB / 0.7092 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.5037, allocations: 227.1 kB / 0.7094 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.5038, allocations: 16 kB / 0.7094 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008372/0.5046, allocations: 466.8 kB / 0.7099 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.536e-05/0.5047, allocations: 91.77 kB / 0.7099 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.5048, allocations: 89.34 kB / 0.71 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.5052, allocations: 447 kB / 0.7105 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5052, allocations: 0 / 0.7105 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5053, allocations: 0 / 0.7105 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5053, allocations: 4 kB / 0.7105 GB, free: 13.61 MB / 0.5294 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.0007406/0.506, allocations: 0.6124 MB / 0.7111 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5061, allocations: 16.02 kB / 0.7111 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.5061, allocations: 50.55 kB / 0.7111 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009583/0.5071, allocations: 159.4 kB / 0.7113 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.5074, allocations: 298.8 kB / 0.7116 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5074, allocations: 24.52 kB / 0.7116 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.5075, allocations: 24 kB / 0.7116 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.5079, allocations: 285.8 kB / 0.7119 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5079, allocations: 4 kB / 0.7119 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.508, allocations: 12 kB / 0.7119 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.508, allocations: 4 kB / 0.7119 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.5083, allocations: 212.9 kB / 0.7121 GB, free: 11.82 MB / 0.5294 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.001153/0.5095, allocations: 1.234 MB / 0.7133 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.5098, allocations: 150.5 kB / 0.7135 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.5099, allocations: 99.17 kB / 0.7135 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.5104, allocations: 315.2 kB / 0.7138 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.5105, allocations: 42.44 kB / 0.7139 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.5105, allocations: 3.938 kB / 0.7139 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=17): time 0.0006683/0.5112, allocations: 309.4 kB / 0.7142 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5112, allocations: 51.41 kB / 0.7142 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.5115, allocations: 316.5 kB / 0.7145 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.5115, allocations: 37.7 kB / 0.7146 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.5116, allocations: 184.1 kB / 0.7147 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.5117, allocations: 59.11 kB / 0.7148 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.5117, allocations: 4 kB / 0.7148 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5118, allocations: 346.8 kB / 0.7151 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.512, allocations: 71.95 kB / 0.7152 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.5122, allocations: 137.8 kB / 0.7153 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.5123, allocations: 87.95 kB / 0.7154 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5123, allocations: 0 / 0.7154 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004063/0.5127, allocations: 261.8 kB / 0.7157 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5128, allocations: 6.75 kB / 0.7157 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5128, allocations: 8 kB / 0.7157 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5128, allocations: 7.984 kB / 0.7157 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.513, allocations: 47.91 kB / 0.7157 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.513, allocations: 4 kB / 0.7157 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.5132, allocations: 35.73 kB / 0.7158 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.5132, allocations: 12 kB / 0.7158 GB, free: 7.789 MB / 0.5294 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.0001248/0.5134, allocations: 157.7 kB / 0.7159 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.5134, allocations: 31.62 kB / 0.716 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.5138, allocations: 237.4 kB / 0.7162 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5139, allocations: 4 kB / 0.7162 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5139, allocations: 4 kB / 0.7162 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5139, allocations: 0 / 0.7162 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.5148, allocations: 0.7107 MB / 0.7169 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5148, allocations: 3.938 kB / 0.7169 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.5149, allocations: 39.91 kB / 0.7169 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5149, allocations: 8.219 kB / 0.7169 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.515, allocations: 8 kB / 0.717 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.515, allocations: 4 kB / 0.717 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.515, allocations: 0 / 0.717 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.5156, allocations: 476.7 kB / 0.7174 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.5157, allocations: 120.7 kB / 0.7175 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.5157, allocations: 8 kB / 0.7175 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.5159, allocations: 19.98 kB / 0.7176 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.5159, allocations: 15.92 kB / 0.7176 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.516, allocations: 8.062 kB / 0.7176 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001909/0.5162, allocations: 231 kB / 0.7178 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5162, allocations: 0 / 0.7178 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003455/0.5165, allocations: 83.8 kB / 0.7179 GB, free: 5.508 MB / 0.5294 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.001007/0.5175, allocations: 1.058 MB / 0.7189 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003811/0.5179, allocations: 187.8 kB / 0.7191 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5179, allocations: 0 / 0.7191 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.5181, allocations: 100.5 kB / 0.7192 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.5189, allocations: 167.3 kB / 0.7193 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.5212, allocations: 1.853 MB / 0.7212 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.5215, allocations: 0.7914 MB / 0.7219 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.5217, allocations: 70.86 kB / 0.722 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.5218, allocations: 91.41 kB / 0.7221 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.5218, allocations: 0 / 0.7221 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.5405, allocations: 8.394 MB / 0.7303 GB, free: 8.898 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.5408, allocations: 211.8 kB / 0.7305 GB, free: 8.652 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.166, allocations: 0 / 0.7305 GB, free: 8.652 MB / 0.545 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/linux/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) Environment - environmentSimulation: