Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 210.5 kB / 23.02 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002674/0.002674, allocations: 289.7 kB / 313.5 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.183/1.183, allocations: 180.6 MB / 0.5377 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 96.81 kB / 0.7403 GB, free: 28.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.161, allocations: 95.39 MB / 0.8334 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1745/0.3355, allocations: 147.5 MB / 0.9775 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.3382, allocations: 1.481 MB / 0.9789 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.3386, allocations: 19.81 kB / 0.9789 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.339, allocations: 150.9 kB / 0.9791 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.3408, allocations: 0.7079 MB / 0.9798 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.3424, allocations: 0.6266 MB / 0.9804 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009573/0.3433, allocations: 0.709 MB / 0.9811 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.3437, allocations: 193.3 kB / 0.9813 GB, free: 344 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4176/0.7613, allocations: 346.4 kB / 0.9816 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.7618, allocations: 229.6 kB / 0.9818 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.7619, allocations: 22.44 kB / 0.9818 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.7632, allocations: 0.734 MB / 0.9825 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.7634, allocations: 112.2 kB / 0.9827 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.7635, allocations: 136.3 kB / 0.9828 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009523/0.7645, allocations: 0.6946 MB / 0.9835 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7645, allocations: 0 / 0.9835 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7645, allocations: 0.8125 kB / 0.9835 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.7645, allocations: 0 / 0.9835 GB, free: 4.328 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008985/0.7654, allocations: 0.5894 MB / 0.984 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.7654, allocations: 10.81 kB / 0.984 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.483e-05/0.7655, allocations: 6.938 kB / 0.9841 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.7655, allocations: 55.98 kB / 0.9841 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.7666, allocations: 160.5 kB / 0.9843 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.7671, allocations: 260.1 kB / 0.9845 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.7671, allocations: 19.33 kB / 0.9845 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.7672, allocations: 24.94 kB / 0.9845 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.7676, allocations: 270.9 kB / 0.9848 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.7676, allocations: 0.7812 kB / 0.9848 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.7676, allocations: 10.66 kB / 0.9848 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.7676, allocations: 5.156 kB / 0.9848 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.768, allocations: 197.6 kB / 0.985 GB, free: 19.63 MB / 0.7325 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.00118/0.7692, allocations: 0.9776 MB / 0.986 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.7695, allocations: 131 kB / 0.9861 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.7696, allocations: 91.33 kB / 0.9862 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.7701, allocations: 72.2 kB / 0.9862 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.7701, allocations: 35 kB / 0.9863 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.7701, allocations: 0.9375 kB / 0.9863 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006986/0.7708, allocations: 284.2 kB / 0.9866 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.7708, allocations: 53.98 kB / 0.9866 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.7712, allocations: 321.6 kB / 0.9869 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.7712, allocations: 27.3 kB / 0.9869 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.7713, allocations: 179.4 kB / 0.9871 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.7713, allocations: 54.7 kB / 0.9872 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.7714, allocations: 48.36 kB / 0.9872 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7716, allocations: 343.5 kB / 0.9875 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.7718, allocations: 65.12 kB / 0.9876 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.772, allocations: 201.5 kB / 0.9878 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.7723, allocations: 192.9 kB / 0.988 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7723, allocations: 0.9375 kB / 0.988 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004295/0.7727, allocations: 244.6 kB / 0.9882 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7727, allocations: 9.984 kB / 0.9882 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.7727, allocations: 1.344 kB / 0.9882 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.7728, allocations: 3.797 kB / 0.9882 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.773, allocations: 44.62 kB / 0.9883 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.773, allocations: 4.422 kB / 0.9883 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.7732, allocations: 26.58 kB / 0.9883 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.7732, allocations: 11.98 kB / 0.9883 GB, free: 17.98 MB / 0.7325 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 (22): * Single equations (assignments): 22 * 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.0001504/0.7734, allocations: 154.1 kB / 0.9885 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.7734, allocations: 32.67 kB / 0.9885 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.7739, allocations: 222.9 kB / 0.9887 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7739, allocations: 2.906 kB / 0.9887 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.7739, allocations: 0.6094 kB / 0.9887 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7739, allocations: 1.406 kB / 0.9887 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.7749, allocations: 0.6397 MB / 0.9893 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7749, allocations: 5.938 kB / 0.9893 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.7751, allocations: 35.06 kB / 0.9894 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7751, allocations: 0.9062 kB / 0.9894 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.7751, allocations: 10.12 kB / 0.9894 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7751, allocations: 4.641 kB / 0.9894 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7751, allocations: 2.812 kB / 0.9894 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.7757, allocations: 426.1 kB / 0.9898 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.7758, allocations: 55.14 kB / 0.9898 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.7758, allocations: 8.875 kB / 0.9898 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.776, allocations: 8.078 kB / 0.9899 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.7761, allocations: 15.34 kB / 0.9899 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.7761, allocations: 10.19 kB / 0.9899 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002215/0.7763, allocations: 228.7 kB / 0.9901 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7763, allocations: 1.125 kB / 0.9901 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000394/0.7767, allocations: 79.03 kB / 0.9902 GB, free: 17.16 MB / 0.7325 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 (15): * Single equations (assignments): 15 * 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.001112/0.7778, allocations: 1.013 MB / 0.9912 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.7782, allocations: 171.1 kB / 0.9913 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7782, allocations: 3.656 kB / 0.9913 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.7783, allocations: 81.94 kB / 0.9914 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00078/0.7791, allocations: 159.1 kB / 0.9916 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.7826, allocations: 2.914 MB / 0.9944 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.7828, allocations: 171.9 kB / 0.9946 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.783, allocations: 67.52 kB / 0.9946 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.7831, allocations: 85.88 kB / 0.9947 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.7831, allocations: 1.469 kB / 0.9947 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.8172, allocations: 9.641 MB / 1.004 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.2, allocations: 15.09 kB / 1.004 GB, free: 13.96 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.29337425599806] Failed to read output from testmodel.py, exit status != 0: 12.364351385971531 12.382633268 11.614778842 Calling exit ...