Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001348/0.001348, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001568/0.001568, allocations: 216 kB / 22.26 MB, free: 5.113 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8922/0.8922, allocations: 145 MB / 457.4 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002041/0.002041, allocations: 75.3 kB / 0.6332 GB, free: 7.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1614, allocations: 87.87 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5325/0.6939, allocations: 171 MB / 0.886 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002868/0.6968, allocations: 1.574 MB / 0.8876 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.6971, allocations: 19.81 kB / 0.8876 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.6977, allocations: 150.9 kB / 0.8877 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.6995, allocations: 0.7391 MB / 0.8884 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.701, allocations: 0.6259 MB / 0.8891 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009715/0.702, allocations: 0.7207 MB / 0.8898 GB, free: 14.58 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.7024, allocations: 181.3 kB / 0.8899 GB, free: 14.4 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006728/0.703, allocations: 354.7 kB / 0.8903 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.7034, allocations: 239.1 kB / 0.8905 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.7034, allocations: 24 kB / 0.8905 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.7051, allocations: 0.9468 MB / 0.8914 GB, free: 12.85 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.7052, allocations: 107.6 kB / 0.8915 GB, free: 12.74 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.7054, allocations: 163.2 kB / 0.8917 GB, free: 12.58 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.7069, allocations: 0.7443 MB / 0.8924 GB, free: 11.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7069, allocations: 0 / 0.8924 GB, free: 11.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7069, allocations: 0 / 0.8924 GB, free: 11.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.7069, allocations: 0 / 0.8924 GB, free: 11.84 MB / 0.67 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.00118/0.7081, allocations: 0.5901 MB / 0.893 GB, free: 11.22 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7082, allocations: 8.031 kB / 0.893 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.545e-05/0.7082, allocations: 62.48 kB / 0.8931 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.7095, allocations: 151.6 kB / 0.8932 GB, free: 10.99 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.71, allocations: 264 kB / 0.8935 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.7101, allocations: 20.44 kB / 0.8935 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.7101, allocations: 16 kB / 0.8935 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.7106, allocations: 283.4 kB / 0.8938 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.7106, allocations: 0 / 0.8938 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.7107, allocations: 12 kB / 0.8938 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.7107, allocations: 4 kB / 0.8938 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.7111, allocations: 199.8 kB / 0.894 GB, free: 10.16 MB / 0.67 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.001646/0.7127, allocations: 1.179 MB / 0.8951 GB, free: 8.891 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.713, allocations: 132.1 kB / 0.8953 GB, free: 8.754 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.7132, allocations: 84.81 kB / 0.8953 GB, free: 8.668 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/0.7137, allocations: 71.91 kB / 0.8954 GB, free: 8.598 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.7137, allocations: 42.44 kB / 0.8954 GB, free: 8.547 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.7137, allocations: 0 / 0.8954 GB, free: 8.547 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007649/0.7145, allocations: 282.1 kB / 0.8957 GB, free: 8.266 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.7145, allocations: 55.41 kB / 0.8958 GB, free: 8.199 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.7149, allocations: 320.5 kB / 0.8961 GB, free: 7.875 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.7149, allocations: 29.7 kB / 0.8961 GB, free: 7.84 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.715, allocations: 180.2 kB / 0.8963 GB, free: 7.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.7151, allocations: 67.44 kB / 0.8963 GB, free: 7.594 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.7152, allocations: 41.7 kB / 0.8964 GB, free: 7.547 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7153, allocations: 338.8 kB / 0.8967 GB, free: 7.207 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.7155, allocations: 63.95 kB / 0.8968 GB, free: 7.145 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.7157, allocations: 121.6 kB / 0.8969 GB, free: 7.008 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.716, allocations: 192.9 kB / 0.8971 GB, free: 6.801 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.716, allocations: 0 / 0.8971 GB, free: 6.801 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004707/0.7165, allocations: 243.8 kB / 0.8973 GB, free: 6.559 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7165, allocations: 4 kB / 0.8973 GB, free: 6.555 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7165, allocations: 0 / 0.8973 GB, free: 6.555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7165, allocations: 4.141 kB / 0.8973 GB, free: 6.551 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.7167, allocations: 36.67 kB / 0.8973 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7168, allocations: 16.02 kB / 0.8974 GB, free: 6.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.7169, allocations: 27.83 kB / 0.8974 GB, free: 6.473 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.717, allocations: 15.98 kB / 0.8974 GB, free: 6.457 MB / 0.67 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.0001552/0.7171, allocations: 149.8 kB / 0.8975 GB, free: 6.301 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.7172, allocations: 27.81 kB / 0.8976 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.7177, allocations: 217.7 kB / 0.8978 GB, free: 6.051 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.7177, allocations: 9 kB / 0.8978 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7177, allocations: 0 / 0.8978 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7177, allocations: 0 / 0.8978 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.7188, allocations: 0.6591 MB / 0.8984 GB, free: 5.312 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.7188, allocations: 0 / 0.8984 GB, free: 5.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.7189, allocations: 31.92 kB / 0.8985 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.7189, allocations: 7.938 kB / 0.8985 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.7189, allocations: 13.92 kB / 0.8985 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.719, allocations: 0 / 0.8985 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.719, allocations: 4 kB / 0.8985 GB, free: 5.258 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.7196, allocations: 434.8 kB / 0.8989 GB, free: 4.797 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.7197, allocations: 47.78 kB / 0.8989 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.7198, allocations: 7.938 kB / 0.8989 GB, free: 4.742 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.7199, allocations: 15.98 kB / 0.899 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.72, allocations: 11.92 kB / 0.899 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.72, allocations: 8 kB / 0.899 GB, free: 4.707 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002345/0.7202, allocations: 231 kB / 0.8992 GB, free: 4.484 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7202, allocations: 3.938 kB / 0.8992 GB, free: 4.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003956/0.7206, allocations: 83.89 kB / 0.8993 GB, free: 4.398 MB / 0.67 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.001151/0.7218, allocations: 1.009 MB / 0.9003 GB, free: 3.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.7222, allocations: 163.8 kB / 0.9004 GB, free: 3.18 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7222, allocations: 0 / 0.9004 GB, free: 3.18 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.7224, allocations: 96.97 kB / 0.9005 GB, free: 3.086 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.7233, allocations: 170 kB / 0.9007 GB, free: 2.934 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.7274, allocations: 2.906 MB / 0.9035 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.7278, allocations: 0.7756 MB / 0.9043 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.728, allocations: 58.92 kB / 0.9043 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.7281, allocations: 91.41 kB / 0.9044 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/0.7281, allocations: 3.938 kB / 0.9044 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04101/0.7691, allocations: 9.079 MB / 0.9133 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.69, allocations: 8.062 kB / 0.9133 GB, free: 6.082 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.201813590945676] Failed to read output from testmodel.py, exit status != 0: 11.800613166065887 11.824652225 11.113185467 Calling exit ...