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.001561/0.001561, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.0015/0.0015, allocations: 216.8 kB / 23.04 MB, free: 5.074 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.00252/0.00252, allocations: 286.7 kB / 313.5 MB, free: 2.809 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.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 12.91 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.002717/0.002717, allocations: 103.1 kB / 0.7404 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1639, allocations: 95.39 MB / 0.8335 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5992/0.7631, allocations: 171 MB / 1 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.766, allocations: 1.57 MB / 1.002 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/0.7666, allocations: 18.31 kB / 1.002 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.7671, allocations: 145.6 kB / 1.002 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.7692, allocations: 0.748 MB / 1.003 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.771, allocations: 0.6238 MB / 1.004 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.7722, allocations: 0.7171 MB / 1.004 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.7726, allocations: 185.9 kB / 1.004 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007777/0.7734, allocations: 350.7 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.7737, allocations: 239.5 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.7738, allocations: 22.88 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.776, allocations: 0.9415 MB / 1.006 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.7762, allocations: 116.4 kB / 1.006 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.7765, allocations: 170.1 kB / 1.006 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.778, allocations: 0.7161 MB / 1.007 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.778, allocations: 0 / 1.007 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.778, allocations: 1.312 kB / 1.007 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.778, allocations: 0.7969 kB / 1.007 GB, free: 3.316 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.001205/0.7792, allocations: 0.5946 MB / 1.007 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7793, allocations: 11.12 kB / 1.007 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.071e-05/0.7793, allocations: 11.64 kB / 1.007 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.7794, allocations: 56.62 kB / 1.008 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.7806, allocations: 152.7 kB / 1.008 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/0.7812, allocations: 268.2 kB / 1.008 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.7812, allocations: 20.62 kB / 1.008 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.7812, allocations: 22 kB / 1.008 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.7818, allocations: 278.8 kB / 1.008 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.7818, allocations: 5.031 kB / 1.008 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.7818, allocations: 8.938 kB / 1.008 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.7819, allocations: 4.969 kB / 1.008 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.7824, allocations: 192.5 kB / 1.008 GB, free: 18.61 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.00168/0.7841, allocations: 1.179 MB / 1.01 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.7843, allocations: 131.3 kB / 1.01 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.7845, allocations: 84.66 kB / 1.01 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.7849, allocations: 72.53 kB / 1.01 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.785, allocations: 39.75 kB / 1.01 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.785, allocations: 0.9688 kB / 1.01 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007721/0.7857, allocations: 284.6 kB / 1.01 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.7858, allocations: 54.12 kB / 1.01 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.7861, allocations: 316 kB / 1.011 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.7861, allocations: 29.89 kB / 1.011 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.7863, allocations: 178.5 kB / 1.011 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.7863, allocations: 65.05 kB / 1.011 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.7864, allocations: 40.48 kB / 1.011 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.7865, allocations: 338.7 kB / 1.011 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.7867, allocations: 74.23 kB / 1.011 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.7869, allocations: 124.7 kB / 1.011 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.7872, allocations: 189.4 kB / 1.012 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7872, allocations: 4.219 kB / 1.012 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004291/0.7876, allocations: 236.3 kB / 1.012 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7876, allocations: 5.562 kB / 1.012 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7876, allocations: 3.375 kB / 1.012 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.7877, allocations: 1.969 kB / 1.012 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.7879, allocations: 47.88 kB / 1.012 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7879, allocations: 7.031 kB / 1.012 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.7881, allocations: 31.36 kB / 1.012 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.7881, allocations: 6.656 kB / 1.012 GB, free: 16.85 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.0001558/0.7883, allocations: 154.8 kB / 1.012 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.7883, allocations: 29.72 kB / 1.012 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.7888, allocations: 220.3 kB / 1.012 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7888, allocations: 1.375 kB / 1.012 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7888, allocations: 2.938 kB / 1.012 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7888, allocations: 1 kB / 1.012 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.7898, allocations: 0.664 MB / 1.013 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7898, allocations: 2.781 kB / 1.013 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.7899, allocations: 32.34 kB / 1.013 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.7899, allocations: 4.406 kB / 1.013 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.7899, allocations: 10.75 kB / 1.013 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7899, allocations: 3.031 kB / 1.013 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.79, allocations: 2.219 kB / 1.013 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.7906, allocations: 433.3 kB / 1.013 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.7906, allocations: 45.94 kB / 1.013 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.7907, allocations: 8.812 kB / 1.013 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.7909, allocations: 15.41 kB / 1.013 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.7909, allocations: 14.34 kB / 1.013 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.7909, allocations: 8.516 kB / 1.013 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000204/0.7911, allocations: 223.5 kB / 1.014 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.7911, allocations: 0 / 1.014 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004121/0.7916, allocations: 85.84 kB / 1.014 GB, free: 16.04 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.001118/0.7927, allocations: 1.021 MB / 1.015 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.7931, allocations: 164 kB / 1.015 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7931, allocations: 0 / 1.015 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.7932, allocations: 87.52 kB / 1.015 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.7941, allocations: 169.2 kB / 1.015 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.7976, allocations: 2.919 MB / 1.018 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.798, allocations: 0.7742 MB / 1.019 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.7982, allocations: 74.66 kB / 1.019 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.7983, allocations: 86.62 kB / 1.019 GB, free: 13 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.7983, allocations: 0 / 1.019 GB, free: 13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.8305, allocations: 9.095 MB / 1.028 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.97, allocations: 12.5 kB / 1.028 GB, free: 12.24 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.169524223951157] Failed to read output from testmodel.py, exit status != 0: 12.13409095199313 12.146675007 11.366077037 Calling exit ...