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.001288/0.001288, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001367/0.001367, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.509/1.509, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.002519/0.002519, allocations: 234 kB / 260 MB, free: 444 kB / 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 0.9139/0.9139, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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: translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") [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.002986/0.002986, allocations: 103.8 kB / 0.6474 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4197, allocations: 95.34 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1792/0.5989, allocations: 147.6 MB / 0.8846 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.6017, allocations: 1.469 MB / 0.8861 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.602, allocations: 19.88 kB / 0.8861 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.6025, allocations: 158.8 kB / 0.8862 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.6043, allocations: 0.7001 MB / 0.8869 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.6058, allocations: 0.6233 MB / 0.8875 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008312/0.6066, allocations: 0.7129 MB / 0.8882 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.6069, allocations: 185.4 kB / 0.8884 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.6075, allocations: 350.8 kB / 0.8887 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.6079, allocations: 223 kB / 0.889 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.6079, allocations: 20 kB / 0.889 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.6091, allocations: 0.7167 MB / 0.8897 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.6093, allocations: 111.6 kB / 0.8898 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.6095, allocations: 143.3 kB / 0.8899 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.6105, allocations: 0.6938 MB / 0.8906 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6105, allocations: 0 / 0.8906 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6105, allocations: 4 kB / 0.8906 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.6105, allocations: 0 / 0.8906 GB, free: 8.59 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.0009513/0.6115, allocations: 0.5862 MB / 0.8912 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6115, allocations: 9.344 kB / 0.8912 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.6127, allocations: 151.6 kB / 0.8913 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.6132, allocations: 268.5 kB / 0.8916 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.6132, allocations: 16.5 kB / 0.8916 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.6133, allocations: 24 kB / 0.8916 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.6138, allocations: 284.2 kB / 0.8919 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.6138, allocations: 0 / 0.8919 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.6138, allocations: 8 kB / 0.8919 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6138, allocations: 8 kB / 0.8919 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.6142, allocations: 195.8 kB / 0.8921 GB, free: 6.984 MB / 0.7169 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.001291/0.6155, allocations: 0.9194 MB / 0.893 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.6158, allocations: 130.5 kB / 0.8931 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.616, allocations: 88.8 kB / 0.8932 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004596/0.6165, allocations: 63.92 kB / 0.8933 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.6165, allocations: 38.56 kB / 0.8933 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.6165, allocations: 4 kB / 0.8933 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0007735/0.6173, allocations: 282.3 kB / 0.8936 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.6173, allocations: 51.41 kB / 0.8936 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.6176, allocations: 249.9 kB / 0.8939 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.6176, allocations: 25.7 kB / 0.8939 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.6177, allocations: 188.2 kB / 0.8941 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.6178, allocations: 59.53 kB / 0.8941 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.6178, allocations: 41.7 kB / 0.8942 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.618, allocations: 338.8 kB / 0.8945 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.6182, allocations: 63.95 kB / 0.8945 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.6184, allocations: 195.5 kB / 0.8947 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.6188, allocations: 200.5 kB / 0.8949 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.6188, allocations: 0 / 0.8949 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004698/0.6193, allocations: 245.2 kB / 0.8951 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6193, allocations: 4 kB / 0.8952 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6193, allocations: 4 kB / 0.8952 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6193, allocations: 0 / 0.8952 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.6195, allocations: 39.92 kB / 0.8952 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6195, allocations: 4.094 kB / 0.8952 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.6197, allocations: 27.88 kB / 0.8952 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.6197, allocations: 8 kB / 0.8952 GB, free: 3.586 MB / 0.7169 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.0001532/0.6199, allocations: 165.6 kB / 0.8954 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.6199, allocations: 19.86 kB / 0.8954 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.6204, allocations: 211.8 kB / 0.8956 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6204, allocations: 4 kB / 0.8956 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6204, allocations: 0 / 0.8956 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6204, allocations: 4 kB / 0.8956 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.6214, allocations: 0.6012 MB / 0.8962 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6214, allocations: 4 kB / 0.8962 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.6216, allocations: 35.91 kB / 0.8962 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6216, allocations: 4.219 kB / 0.8962 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.6216, allocations: 8 kB / 0.8963 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.6216, allocations: 7.938 kB / 0.8963 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6216, allocations: 4 kB / 0.8963 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.6223, allocations: 428.9 kB / 0.8967 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.6224, allocations: 39.83 kB / 0.8967 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.6224, allocations: 8 kB / 0.8967 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.6226, allocations: 15.98 kB / 0.8967 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.6226, allocations: 16.06 kB / 0.8968 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.6227, allocations: 11.98 kB / 0.8968 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001736/0.6228, allocations: 181.2 kB / 0.8969 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6228, allocations: 0 / 0.8969 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004074/0.6232, allocations: 79.83 kB / 0.897 GB, free: 1.66 MB / 0.7169 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.0002833/0.6235, allocations: 147.1 kB / 0.8972 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.6239, allocations: 171.7 kB / 0.8973 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.624, allocations: 0 / 0.8973 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.6241, allocations: 83.88 kB / 0.8974 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.6249, allocations: 120.7 kB / 0.8975 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009919/0.6259, allocations: 0.598 MB / 0.8981 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.626, allocations: 174.8 kB / 0.8983 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000162/0.6262, allocations: 50.48 kB / 0.8983 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.6263, allocations: 28.5 kB / 0.8983 GB, free: 232 kB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6263, allocations: 0 / 0.8983 GB, free: 232 kB / 0.7169 GB Notification: Performance of Templates: time 0.009701/0.636, allocations: 4.785 MB / 0.903 GB, free: 11.6 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.34991821704898] Failed to read output from testmodel.py, exit status != 0: 0.6443754089996219 0.658031857 0.04451204 Calling exit ...