Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8482/0.8482, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001303, allocations: 180.9 kB / 182.2 MB, free: 9.422 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.000999, allocations: 96.03 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.00167, allocations: 290.8 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.646e-05, allocations: 8 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4206, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.527/4.947, allocations: 1.866 GB / 2.624 GB, free: 152.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/4.948, allocations: 83.77 kB / 2.624 GB, free: 152.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8669/5.815, allocations: 243.8 MB / 2.862 GB, free: 196.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.272e-06/5.815, allocations: 0 / 2.862 GB, free: 196.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.748e-05/5.815, allocations: 8 kB / 2.862 GB, free: 196.1 MB / 0.698 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.001095/5.816, allocations: 0.6468 MB / 2.862 GB, free: 195.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/5.816, allocations: 8.031 kB / 2.862 GB, free: 195.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/5.817, allocations: 155.3 kB / 2.863 GB, free: 195.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/5.818, allocations: 323.3 kB / 2.863 GB, free: 195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/5.818, allocations: 8 kB / 2.863 GB, free: 195 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/5.818, allocations: 16 kB / 2.863 GB, free: 194.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002655/5.818, allocations: 153.1 kB / 2.863 GB, free: 194.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/5.818, allocations: 228.8 kB / 2.863 GB, free: 194.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/5.818, allocations: 0 / 2.863 GB, free: 194.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/5.818, allocations: 5.031 kB / 2.863 GB, free: 194.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/5.818, allocations: 4 kB / 2.863 GB, free: 194.5 MB / 0.698 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.001169/5.82, allocations: 1.166 MB / 2.864 GB, free: 193.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/5.82, allocations: 102.6 kB / 2.864 GB, free: 193.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/5.82, allocations: 76.83 kB / 2.865 GB, free: 193.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/5.82, allocations: 299.3 kB / 2.865 GB, free: 192.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/5.82, allocations: 34.56 kB / 2.865 GB, free: 192.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/5.82, allocations: 7.828 kB / 2.865 GB, free: 192.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.000605/5.821, allocations: 203.1 kB / 2.865 GB, free: 192.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/5.821, allocations: 51.41 kB / 2.865 GB, free: 192.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/5.821, allocations: 218.2 kB / 2.865 GB, free: 192.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/5.821, allocations: 25.7 kB / 2.865 GB, free: 192.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/5.821, allocations: 188.1 kB / 2.865 GB, free: 192 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/5.821, allocations: 59.09 kB / 2.866 GB, free: 191.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/5.821, allocations: 0 / 2.866 GB, free: 191.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.411e-05/5.821, allocations: 338.8 kB / 2.866 GB, free: 191.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/5.821, allocations: 44 kB / 2.866 GB, free: 191.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/5.822, allocations: 108.7 kB / 2.866 GB, free: 191.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/5.822, allocations: 98.73 kB / 2.866 GB, free: 191.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/5.822, allocations: 0 / 2.866 GB, free: 191.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003515/5.822, allocations: 229.1 kB / 2.866 GB, free: 191.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/5.822, allocations: 4 kB / 2.866 GB, free: 191.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/5.822, allocations: 4 kB / 2.866 GB, free: 191.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/5.822, allocations: 4.078 kB / 2.866 GB, free: 191.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/5.822, allocations: 51.91 kB / 2.866 GB, free: 191.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/5.822, allocations: 4.094 kB / 2.866 GB, free: 191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/5.823, allocations: 35.75 kB / 2.866 GB, free: 191 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/5.823, allocations: 8 kB / 2.866 GB, free: 191 MB / 0.698 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 () * 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 6.792e-05/5.823, allocations: 108.9 kB / 2.867 GB, free: 190.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000306/5.823, allocations: 190.1 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/5.823, allocations: 23.72 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/5.823, allocations: 204.9 kB / 2.867 GB, free: 190.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/5.824, allocations: 3.938 kB / 2.867 GB, free: 190.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/5.824, allocations: 0 / 2.867 GB, free: 190.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/5.824, allocations: 0 / 2.867 GB, free: 190.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/5.824, allocations: 0.633 MB / 2.868 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/5.824, allocations: 0 / 2.868 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/5.825, allocations: 39.97 kB / 2.868 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/5.825, allocations: 4 kB / 2.868 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/5.825, allocations: 4 kB / 2.868 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/5.825, allocations: 7.938 kB / 2.868 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/5.825, allocations: 4.281 kB / 2.868 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/5.825, allocations: 493.9 kB / 2.868 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/5.825, allocations: 116.8 kB / 2.868 GB, free: 189 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/5.825, allocations: 0 / 2.868 GB, free: 189 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/5.825, allocations: 20.05 kB / 2.868 GB, free: 189 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/5.825, allocations: 15.94 kB / 2.868 GB, free: 189 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/5.826, allocations: 7.984 kB / 2.868 GB, free: 189 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001206/5.826, allocations: 166 kB / 2.868 GB, free: 188.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/5.826, allocations: 0 / 2.868 GB, free: 188.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005917/5.826, allocations: 151.8 kB / 2.869 GB, free: 188.7 MB / 0.698 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 () * 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.002072/5.828, allocations: 2.578 MB / 2.871 GB, free: 186.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000267/5.829, allocations: 131.8 kB / 2.871 GB, free: 186 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/5.829, allocations: 0 / 2.871 GB, free: 186 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/5.829, allocations: 67.92 kB / 2.871 GB, free: 186 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/5.829, allocations: 106.4 kB / 2.871 GB, free: 185.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/5.83, allocations: 0.4985 MB / 2.872 GB, free: 185.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/5.831, allocations: 0.7873 MB / 2.873 GB, free: 184.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002019/5.831, allocations: 54.02 kB / 2.873 GB, free: 184.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/5.831, allocations: 95.41 kB / 2.873 GB, free: 184.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.934e-06/5.831, allocations: 0 / 2.873 GB, free: 184.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/5.866, allocations: 14.41 MB / 2.887 GB, free: 170 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/5.866, allocations: 168.8 kB / 2.887 GB, free: 169.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/8.229, allocations: 0 / 2.887 GB, free: 169.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)