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.001343/0.001344, allocations: 97.28 kB / 15.69 MB, free: 480 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.002067/0.002067, allocations: 172.7 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.509/2.509, allocations: 223.2 MB / 240.5 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 1.186/1.186, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005646, allocations: 8.594 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3279, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 1.031/1.359, allocations: 140.2 MB / 0.6936 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005413/1.365, allocations: 1.58 MB / 0.6952 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006273/1.365, allocations: 7.938 kB / 0.6952 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/1.367, allocations: 187.1 kB / 0.6953 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/1.37, allocations: 0.5103 MB / 0.6958 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/1.372, allocations: 485.8 kB / 0.6963 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001333/1.373, allocations: 448.4 kB / 0.6967 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/1.374, allocations: 193.8 kB / 0.6969 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/1.376, allocations: 350.9 kB / 0.6973 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/1.376, allocations: 155.4 kB / 0.6974 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/1.376, allocations: 12 kB / 0.6974 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/1.378, allocations: 419.3 kB / 0.6978 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/1.378, allocations: 95.77 kB / 0.6979 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/1.378, allocations: 85.52 kB / 0.698 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/1.379, allocations: 403.9 kB / 0.6984 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.379, allocations: 0 / 0.6984 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.965e-06/1.379, allocations: 4 kB / 0.6984 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.238e-06/1.38, allocations: 4 kB / 0.6984 GB, free: 9.145 MB / 0.5137 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.001534/1.381, allocations: 0.6007 MB / 0.699 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.231e-05/1.381, allocations: 12.03 kB / 0.699 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/1.381, allocations: 58.55 kB / 0.699 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/1.383, allocations: 151.5 kB / 0.6992 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/1.384, allocations: 314.8 kB / 0.6995 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/1.384, allocations: 21.33 kB / 0.6995 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/1.384, allocations: 24 kB / 0.6995 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/1.385, allocations: 285.8 kB / 0.6998 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/1.385, allocations: 0 / 0.6998 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/1.385, allocations: 12 kB / 0.6998 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/1.385, allocations: 4 kB / 0.6998 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/1.386, allocations: 212.9 kB / 0.7 GB, free: 7.359 MB / 0.5137 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.002744/1.389, allocations: 1.234 MB / 0.7012 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/1.389, allocations: 152.7 kB / 0.7014 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/1.39, allocations: 129 kB / 0.7015 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/1.39, allocations: 38.55 kB / 0.7015 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=17): time 2.925e-06/1.39, allocations: 0 / 0.7015 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=17): time 0.001391/1.391, allocations: 319.4 kB / 0.7018 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/1.391, allocations: 55.31 kB / 0.7019 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/1.392, allocations: 320.5 kB / 0.7022 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/1.392, allocations: 25.7 kB / 0.7022 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/1.392, allocations: 184.2 kB / 0.7024 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/1.393, allocations: 63.09 kB / 0.7024 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/1.393, allocations: 0 / 0.7024 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003006/1.393, allocations: 346.7 kB / 0.7028 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/1.393, allocations: 75.95 kB / 0.7029 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/1.394, allocations: 126.9 kB / 0.703 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/1.394, allocations: 97.72 kB / 0.7031 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.394, allocations: 0 / 0.7031 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008751/1.395, allocations: 265 kB / 0.7033 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/1.395, allocations: 4 kB / 0.7033 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.395, allocations: 0 / 0.7033 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/1.395, allocations: 7.953 kB / 0.7033 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/1.395, allocations: 47.91 kB / 0.7034 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.395, allocations: 4 kB / 0.7034 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/1.396, allocations: 43.77 kB / 0.7034 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/1.396, allocations: 8 kB / 0.7034 GB, free: 3.648 MB / 0.5137 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.0002805/1.396, allocations: 153.8 kB / 0.7036 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/1.396, allocations: 27.72 kB / 0.7036 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/1.397, allocations: 240 kB / 0.7038 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.397, allocations: 7.891 kB / 0.7038 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.397, allocations: 4 kB / 0.7038 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.397, allocations: 0 / 0.7038 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/1.399, allocations: 0.7225 MB / 0.7045 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.399, allocations: 0 / 0.7045 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/1.399, allocations: 43.91 kB / 0.7046 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.399, allocations: 4 kB / 0.7046 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/1.399, allocations: 4 kB / 0.7046 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/1.399, allocations: 4 kB / 0.7046 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.399, allocations: 0 / 0.7046 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/1.401, allocations: 0.544 MB / 0.7051 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/1.401, allocations: 128.7 kB / 0.7053 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.255e-05/1.401, allocations: 8 kB / 0.7053 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/1.401, allocations: 19.92 kB / 0.7053 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.402, allocations: 20 kB / 0.7053 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/1.402, allocations: 8 kB / 0.7053 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004261/1.402, allocations: 231 kB / 0.7055 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/1.402, allocations: 4.031 kB / 0.7055 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007841/1.403, allocations: 87.83 kB / 0.7056 GB, free: 1.223 MB / 0.5137 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.0026/1.405, allocations: 1.604 MB / 0.7072 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007478/1.406, allocations: 187.9 kB / 0.7074 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.423e-06/1.406, allocations: 4 kB / 0.7074 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/1.407, allocations: 95.81 kB / 0.7075 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/1.408, allocations: 163 kB / 0.7076 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/1.413, allocations: 2.595 MB / 0.7101 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/1.414, allocations: 0.7875 MB / 0.7109 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004506/1.415, allocations: 58.94 kB / 0.711 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/1.415, allocations: 95.41 kB / 0.7111 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of SimCode: time 1.914e-06/1.415, allocations: 0 / 0.7111 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/1.454, allocations: 8.382 MB / 0.7192 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004689/1.454, allocations: 207 kB / 0.7194 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/4.757, allocations: 4 kB / 0.7194 GB, free: 3.059 MB / 0.5294 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: