Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6931/0.6931, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 183.8 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 404.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 90.36 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.306e-05/5.317e-05, allocations: 8 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 76.75 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.058/5.201, allocations: 2.137 GB / 2.765 GB, free: 192.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/5.201, allocations: 91.94 kB / 2.765 GB, free: 192.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8975/6.098, allocations: 242 MB / 3.001 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.014e-06/6.099, allocations: 0 / 3.001 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.917e-05/6.099, allocations: 10.91 kB / 3.001 GB, free: 168.7 MB / 0.6511 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.001377/6.1, allocations: 0.642 MB / 3.002 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.719e-05/6.1, allocations: 17.86 kB / 3.002 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/6.1, allocations: 55.45 kB / 3.002 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/6.101, allocations: 157.7 kB / 3.002 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006229/6.102, allocations: 312.2 kB / 3.002 GB, free: 168 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/6.102, allocations: 22.94 kB / 3.002 GB, free: 168 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/6.102, allocations: 25.34 kB / 3.003 GB, free: 168 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/6.103, allocations: 252.6 kB / 3.003 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/6.103, allocations: 3.953 kB / 3.003 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/6.103, allocations: 5.312 kB / 3.003 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/6.103, allocations: 11.06 kB / 3.003 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/6.103, allocations: 167 kB / 3.003 GB, free: 167.9 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.001392/6.104, allocations: 1.061 MB / 3.004 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/6.105, allocations: 135.4 kB / 3.004 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.956e-05/6.105, allocations: 69.56 kB / 3.004 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/6.105, allocations: 301.8 kB / 3.004 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/6.105, allocations: 37.62 kB / 3.004 GB, free: 166.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/6.105, allocations: 0 / 3.004 GB, free: 166.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0005043/6.106, allocations: 181.1 kB / 3.005 GB, free: 166.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/6.106, allocations: 63.2 kB / 3.005 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/6.106, allocations: 280.8 kB / 3.005 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/6.106, allocations: 32.3 kB / 3.005 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/6.106, allocations: 183.7 kB / 3.005 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/6.106, allocations: 59.88 kB / 3.005 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/6.106, allocations: 3.25 kB / 3.005 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/6.106, allocations: 336.3 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/6.106, allocations: 53.66 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/6.107, allocations: 98.73 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/6.107, allocations: 71.64 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/6.107, allocations: 0 / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003084/6.107, allocations: 207.5 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/6.107, allocations: 3.531 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/6.107, allocations: 2.938 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/6.107, allocations: 3.562 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/6.107, allocations: 53.12 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/6.107, allocations: 6.125 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/6.108, allocations: 41.75 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/6.108, allocations: 13.33 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.255e-05/6.108, allocations: 117.8 kB / 3.006 GB, free: 166 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/6.108, allocations: 25.66 kB / 3.006 GB, free: 166 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/6.108, allocations: 185.8 kB / 3.006 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/6.108, allocations: 6.438 kB / 3.006 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/6.108, allocations: 0 / 3.006 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/6.108, allocations: 3.953 kB / 3.006 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/6.109, allocations: 0.6309 MB / 3.007 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/6.109, allocations: 6.438 kB / 3.007 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/6.109, allocations: 37.11 kB / 3.007 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/6.109, allocations: 3.953 kB / 3.007 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/6.109, allocations: 7.969 kB / 3.007 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/6.109, allocations: 6.281 kB / 3.007 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/6.109, allocations: 0 / 3.007 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/6.11, allocations: 451.7 kB / 3.008 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/6.11, allocations: 109.2 kB / 3.008 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/6.11, allocations: 13.95 kB / 3.008 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/6.11, allocations: 21.06 kB / 3.008 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/6.11, allocations: 17.28 kB / 3.008 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/6.11, allocations: 3.969 kB / 3.008 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002047/6.11, allocations: 227 kB / 3.008 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.4e-07/6.11, allocations: 0 / 3.008 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007682/6.111, allocations: 173.1 kB / 3.008 GB, free: 165.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002528/6.114, allocations: 2.343 MB / 3.01 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003038/6.114, allocations: 149.5 kB / 3.01 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/6.114, allocations: 0 / 3.01 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/6.114, allocations: 69.31 kB / 3.011 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/6.115, allocations: 152.1 kB / 3.011 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/6.116, allocations: 0.5102 MB / 3.011 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/6.116, allocations: 0.7947 MB / 3.012 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002582/6.117, allocations: 55.05 kB / 3.012 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/6.117, allocations: 91.94 kB / 3.012 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.954e-06/6.117, allocations: 3.656 kB / 3.012 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05966/6.177, allocations: 27.38 MB / 3.039 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/6.177, allocations: 198.9 kB / 3.039 GB, free: 158 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/8.992, allocations: 0 / 3.039 GB, free: 158 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)