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.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.001325/0.001325, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001457/0.001457, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.797 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.002591/0.002591, allocations: 297.4 kB / 312.7 MB, free: 2.605 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.371/1.371, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 178] 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.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: 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.003034/0.003034, allocations: 108.9 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2142, allocations: 95.37 MB / 0.8331 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6287/0.843, allocations: 156 MB / 0.9854 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.8585, allocations: 12.05 MB / 0.9972 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.8599, allocations: 46.38 kB / 0.9973 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.8611, allocations: 474 kB / 0.9977 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.864, allocations: 1.076 MB / 0.9988 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004548/0.8685, allocations: 1.907 MB / 1.001 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003154/0.8717, allocations: 2.559 MB / 1.003 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.8738, allocations: 1.271 MB / 1.004 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004388/0.8782, allocations: 1.501 MB / 1.006 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.8798, allocations: 0.8383 MB / 1.007 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.8801, allocations: 175.6 kB / 1.007 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.8829, allocations: 1.28 MB / 1.008 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.8833, allocations: 0.4951 MB / 1.009 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.8841, allocations: 0.7202 MB / 1.009 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.8879, allocations: 2.852 MB / 1.012 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8879, allocations: 0.9375 kB / 1.012 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8879, allocations: 3.938 kB / 1.012 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.374e-05/0.8879, allocations: 0.75 kB / 1.012 GB, free: 3.066 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003443/0.8914, allocations: 2.021 MB / 1.014 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.8914, allocations: 14.69 kB / 1.014 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/0.8944, allocations: 464.4 kB / 1.014 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.896, allocations: 0.9686 MB / 1.015 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.8961, allocations: 100.8 kB / 1.016 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.8962, allocations: 132.1 kB / 1.016 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.899, allocations: 2.025 MB / 1.018 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.899, allocations: 4.469 kB / 1.018 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.8991, allocations: 58.88 kB / 1.018 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.8992, allocations: 34.38 kB / 1.018 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.9014, allocations: 1.535 MB / 1.019 GB, free: 16.81 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.005773/0.9072, allocations: 3.77 MB / 1.023 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.9092, allocations: 1.145 MB / 1.024 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/0.9099, allocations: 443.7 kB / 1.024 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005424/0.9105, allocations: 111.5 kB / 1.025 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/0.9118, allocations: 1.053 MB / 1.026 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=107): time 2.866e-06/0.9118, allocations: 0 / 1.026 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=107): time 0.003812/0.9156, allocations: 1.583 MB / 1.027 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.9158, allocations: 196.4 kB / 1.027 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.9166, allocations: 0.7717 MB / 1.028 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.705e-05/0.9167, allocations: 44.48 kB / 1.028 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.9171, allocations: 0.6168 MB / 1.029 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.9173, allocations: 373.7 kB / 1.029 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.9176, allocations: 215.2 kB / 1.029 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9178, allocations: 349.3 kB / 1.03 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007119/0.9185, allocations: 393.6 kB / 1.03 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/0.9194, allocations: 0.7497 MB / 1.031 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.921, allocations: 0.9571 MB / 1.032 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.921, allocations: 0 / 1.032 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002441/0.9234, allocations: 1.218 MB / 1.033 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9234, allocations: 10.28 kB / 1.033 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.9234, allocations: 7.391 kB / 1.033 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.924, allocations: 85.72 kB / 1.033 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.925, allocations: 257.6 kB / 1.033 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.927, allocations: 1.521 MB / 1.035 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.9279, allocations: 118.1 kB / 1.035 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.928, allocations: 48.89 kB / 1.035 GB, free: 11.62 MB / 0.7325 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.0005907/0.9286, allocations: 361.8 kB / 1.035 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.9288, allocations: 112.8 kB / 1.035 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/0.9315, allocations: 1.416 MB / 1.037 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.9315, allocations: 16.16 kB / 1.037 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9315, allocations: 0 / 1.037 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.9316, allocations: 10.78 kB / 1.037 GB, free: 11.32 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 postOpt removeSimpleEquations (simulation): time 0.004058/0.9356, allocations: 2.408 MB / 1.039 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.9356, allocations: 0.8438 kB / 1.039 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/0.9365, allocations: 219.2 kB / 1.039 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004092/0.9369, allocations: 70.67 kB / 1.039 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.937, allocations: 36.16 kB / 1.039 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.9389, allocations: 1.541 MB / 1.041 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9389, allocations: 0 / 1.041 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.9415, allocations: 1.32 MB / 1.042 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.9421, allocations: 270.2 kB / 1.042 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.9423, allocations: 29.7 kB / 1.042 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/0.9432, allocations: 81.88 kB / 1.042 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.9433, allocations: 91.02 kB / 1.043 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/0.9434, allocations: 47.2 kB / 1.043 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006543/0.9441, allocations: 0.5332 MB / 1.043 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9441, allocations: 0 / 1.043 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001388/0.9455, allocations: 0.5178 MB / 1.044 GB, free: 8.609 MB / 0.7325 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.002256/0.9477, allocations: 0.7369 MB / 1.044 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.95, allocations: 1.105 MB / 1.045 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.95, allocations: 4.562 kB / 1.045 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.9511, allocations: 0.6339 MB / 1.046 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.953, allocations: 456.6 kB / 1.047 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.9572, allocations: 2.386 MB / 1.049 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.9578, allocations: 0.6282 MB / 1.049 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001264/0.9591, allocations: 382.7 kB / 1.05 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.9594, allocations: 131.6 kB / 1.05 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.9594, allocations: 6.469 kB / 1.05 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of Templates: time 0.04176/1.001, allocations: 24.64 MB / 1.074 GB, free: 9.945 MB / 0.7481 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.407760959118605] Failed to read output from testmodel.py, exit status != 0: 1.0089271925389767 1.024637434 0.13347630400000002 Calling exit ...