Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 183.6 kB / 22.85 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003494/0.003494, allocations: 296.8 kB / 307 MB, free: 8.348 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.224/1.224, allocations: 180.8 MB / 0.5304 GB, free: 14.43 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 106.3 kB / 0.7311 GB, free: 38.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1753, allocations: 94.2 MB / 0.8231 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2183/0.3936, allocations: 175.7 MB / 0.9947 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4128, allocations: 12.99 MB / 1.007 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.4142, allocations: 43.62 kB / 1.007 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.4159, allocations: 480.4 kB / 1.008 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.4197, allocations: 1.067 MB / 1.009 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005665/0.4253, allocations: 1.928 MB / 1.011 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.4616/0.8869, allocations: 2.551 MB / 1.013 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.8893, allocations: 1.28 MB / 1.015 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004296/0.8936, allocations: 1.496 MB / 1.016 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.8949, allocations: 0.9068 MB / 1.017 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.8952, allocations: 170.3 kB / 1.017 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.898, allocations: 1.272 MB / 1.018 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005261/0.8985, allocations: 0.4944 MB / 1.019 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.8996, allocations: 0.873 MB / 1.02 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.9044, allocations: 2.776 MB / 1.022 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9044, allocations: 0 / 1.022 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9044, allocations: 0 / 1.022 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.947e-05/0.9045, allocations: 1.656 kB / 1.022 GB, free: 4.621 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.004607/0.9091, allocations: 2.001 MB / 1.024 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.9091, allocations: 10.09 kB / 1.024 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.912, allocations: 418.8 kB / 1.025 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.914, allocations: 0.9541 MB / 1.026 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.9141, allocations: 98.38 kB / 1.026 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.9144, allocations: 132.1 kB / 1.026 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.9176, allocations: 1.529 MB / 1.027 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.9176, allocations: 1.625 kB / 1.027 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.9177, allocations: 57.09 kB / 1.027 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.9178, allocations: 34.41 kB / 1.027 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.9208, allocations: 1.581 MB / 1.029 GB, free: 3.031 MB / 0.7481 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.007364/0.9282, allocations: 5.203 MB / 1.034 GB, free: 16.55 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.9304, allocations: 1.157 MB / 1.035 GB, free: 16.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.9311, allocations: 444.7 kB / 1.036 GB, free: 16.48 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.9317, allocations: 124.3 kB / 1.036 GB, free: 16.48 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.9329, allocations: 0.6918 MB / 1.036 GB, free: 16.41 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=107): time 3.306e-06/0.933, allocations: 1 kB / 1.036 GB, free: 16.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=107): time 0.00403/0.937, allocations: 1.595 MB / 1.038 GB, free: 16.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.9371, allocations: 196.6 kB / 1.038 GB, free: 16.08 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.9382, allocations: 0.8951 MB / 1.039 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.9383, allocations: 50.11 kB / 1.039 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/0.9388, allocations: 0.6038 MB / 1.04 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.939, allocations: 377.4 kB / 1.04 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.9393, allocations: 212.1 kB / 1.04 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9395, allocations: 345.9 kB / 1.041 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.9402, allocations: 394.9 kB / 1.041 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008472/0.9411, allocations: 0.5752 MB / 1.041 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.9427, allocations: 0.9521 MB / 1.042 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.9427, allocations: 2.656 kB / 1.042 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002593/0.9453, allocations: 1.242 MB / 1.044 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.9453, allocations: 7.656 kB / 1.044 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9453, allocations: 4.25 kB / 1.044 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.9459, allocations: 88.72 kB / 1.044 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.9469, allocations: 252.6 kB / 1.044 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.9491, allocations: 1.558 MB / 1.045 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.9503, allocations: 135.7 kB / 1.046 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.9504, allocations: 53.38 kB / 1.046 GB, free: 13.34 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007066/0.9511, allocations: 344.7 kB / 1.046 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.9513, allocations: 125.7 kB / 1.046 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.9541, allocations: 1.433 MB / 1.048 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.9541, allocations: 15.28 kB / 1.048 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9542, allocations: 0.8438 kB / 1.048 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.9542, allocations: 8.578 kB / 1.048 GB, free: 13.04 MB / 0.7637 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 postOpt removeSimpleEquations (simulation): time 0.004304/0.9585, allocations: 2.841 MB / 1.05 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.9585, allocations: 0 / 1.05 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009112/0.9594, allocations: 215.6 kB / 1.051 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/0.9598, allocations: 79.41 kB / 1.051 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.9599, allocations: 39.67 kB / 1.051 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.9617, allocations: 1.567 MB / 1.052 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9617, allocations: 0 / 1.052 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.9642, allocations: 1.333 MB / 1.053 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00056/0.9648, allocations: 282.6 kB / 1.054 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.965, allocations: 31.17 kB / 1.054 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/0.9659, allocations: 78.56 kB / 1.054 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.9661, allocations: 91.2 kB / 1.054 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.9662, allocations: 57.08 kB / 1.054 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008621/0.967, allocations: 0.618 MB / 1.055 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.967, allocations: 0.8438 kB / 1.055 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001623/0.9687, allocations: 0.4948 MB / 1.055 GB, free: 10.79 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002238/0.9709, allocations: 0.7139 MB / 1.056 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.9733, allocations: 1.112 MB / 1.057 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9733, allocations: 3.094 kB / 1.057 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.9745, allocations: 0.6293 MB / 1.057 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.9768, allocations: 0.5379 MB / 1.058 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.9811, allocations: 2.378 MB / 1.06 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/0.9819, allocations: 1.21 MB / 1.062 GB, free: 8.629 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001352/0.9833, allocations: 391.6 kB / 1.062 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.9836, allocations: 138.1 kB / 1.062 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of SimCode: time 8.32e-07/0.9836, allocations: 0 / 1.062 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of Templates: time 0.04146/1.025, allocations: 25.56 MB / 1.087 GB, free: 0.9805 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.022365976998117] Failed to read output from testmodel.py, exit status != 0: 1.03279005701188 1.04611714 0.13848627500000002 Calling exit ...