Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001784/0.001784, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002239/0.002239, allocations: 211.2 kB / 22.24 MB, free: 4.859 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.635/1.635, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9211/0.9211, allocations: 134 MB / 446.4 MB, free: 9.918 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: IDEAS 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.002418/0.002418, allocations: 62.31 kB / 0.619 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2117, allocations: 85.9 MB / 0.7028 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6946/0.9064, allocations: 155.2 MB / 0.8544 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.9266, allocations: 11.87 MB / 0.866 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.9278, allocations: 47.62 kB / 0.866 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.9292, allocations: 436.7 kB / 0.8665 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.9323, allocations: 0.971 MB / 0.8674 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005372/0.9377, allocations: 1.871 MB / 0.8692 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003992/0.9417, allocations: 2.311 MB / 0.8715 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.9444, allocations: 1.267 MB / 0.8727 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.9494, allocations: 1.425 MB / 0.8741 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.9511, allocations: 0.7659 MB / 0.8749 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.9515, allocations: 160 kB / 0.875 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.9554, allocations: 1.279 MB / 0.8763 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008635/0.9562, allocations: 474.5 kB / 0.8767 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.9574, allocations: 0.6532 MB / 0.8774 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006411/0.9638, allocations: 2.686 MB / 0.88 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.9638, allocations: 0 / 0.88 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9638, allocations: 0 / 0.88 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.239e-05/0.9639, allocations: 0 / 0.88 GB, free: 13.54 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004127/0.968, allocations: 1.899 MB / 0.8818 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.968, allocations: 12.62 kB / 0.8818 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.9713, allocations: 458.4 kB / 0.8823 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.9736, allocations: 0.9282 MB / 0.8832 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.9737, allocations: 98.62 kB / 0.8833 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.9739, allocations: 132 kB / 0.8834 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/0.9774, allocations: 1.966 MB / 0.8853 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.9774, allocations: 0 / 0.8853 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.9775, allocations: 60 kB / 0.8854 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.9776, allocations: 32 kB / 0.8854 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.9805, allocations: 1.489 MB / 0.8869 GB, free: 6.203 MB / 0.6544 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.007878/0.9884, allocations: 3.625 MB / 0.8904 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.9909, allocations: 1.062 MB / 0.8914 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008518/0.9918, allocations: 419.6 kB / 0.8918 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006239/0.9924, allocations: 108.9 kB / 0.892 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.994, allocations: 0.9769 MB / 0.8929 GB, free: 15.83 MB / 0.67 GB Notification: Performance of pre-optimization done (n=98): time 2.835e-06/0.994, allocations: 0 / 0.8929 GB, free: 15.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=98): time 0.0043/0.9983, allocations: 1.453 MB / 0.8943 GB, free: 14.37 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.9984, allocations: 192.9 kB / 0.8945 GB, free: 14.14 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.9996, allocations: 0.7236 MB / 0.8952 GB, free: 13.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.9998, allocations: 45.7 kB / 0.8953 GB, free: 13.35 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/1, allocations: 0.5906 MB / 0.8958 GB, free: 12.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/1.001, allocations: 345 kB / 0.8962 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/1.001, allocations: 206.5 kB / 0.8964 GB, free: 12.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001965/1.001, allocations: 345.9 kB / 0.8967 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007837/1.002, allocations: 365.8 kB / 0.897 GB, free: 11.51 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.003, allocations: 0.7043 MB / 0.8977 GB, free: 10.71 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/1.005, allocations: 0.898 MB / 0.8986 GB, free: 9.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.005, allocations: 4 kB / 0.8986 GB, free: 9.766 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002944/1.008, allocations: 1.142 MB / 0.8997 GB, free: 8.609 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.008, allocations: 8.406 kB / 0.8997 GB, free: 8.602 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.008, allocations: 15.88 kB / 0.8997 GB, free: 8.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006775/1.009, allocations: 84.72 kB / 0.8998 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.01, allocations: 239.7 kB / 0.9001 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/1.012, allocations: 1.52 MB / 0.9015 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/1.013, allocations: 103.4 kB / 0.9016 GB, free: 6.539 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.013, allocations: 51.97 kB / 0.9017 GB, free: 6.488 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * 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.0007132/1.014, allocations: 335.3 kB / 0.902 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/1.014, allocations: 107.3 kB / 0.9021 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/1.018, allocations: 1.319 MB / 0.9034 GB, free: 4.711 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.018, allocations: 15.98 kB / 0.9034 GB, free: 4.695 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.018, allocations: 0 / 0.9034 GB, free: 4.695 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.018, allocations: 7.922 kB / 0.9034 GB, free: 4.688 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 postOpt removeSimpleEquations (simulation): time 0.004868/1.023, allocations: 2.243 MB / 0.9056 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.023, allocations: 0 / 0.9056 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.024, allocations: 219.7 kB / 0.9058 GB, free: 2.191 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/1.024, allocations: 68.78 kB / 0.9059 GB, free: 2.121 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/1.024, allocations: 27.98 kB / 0.9059 GB, free: 2.094 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/1.026, allocations: 1.555 MB / 0.9074 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.026, allocations: 3.938 kB / 0.9074 GB, free: 440 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/1.029, allocations: 1.217 MB / 0.9086 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/1.03, allocations: 254.8 kB / 0.9089 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/1.03, allocations: 24 kB / 0.9089 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/1.031, allocations: 73.61 kB / 0.909 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.031, allocations: 80.73 kB / 0.909 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.031, allocations: 43.97 kB / 0.9091 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000798/1.032, allocations: 0.4951 MB / 0.9096 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/1.032, allocations: 4 kB / 0.9096 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001415/1.033, allocations: 482.6 kB / 0.91 GB, free: 13.76 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002413/1.036, allocations: 0.7173 MB / 0.9107 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002574/1.038, allocations: 1.031 MB / 0.9117 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.038, allocations: 0 / 0.9117 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/1.04, allocations: 0.6016 MB / 0.9123 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.042, allocations: 448 kB / 0.9128 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/1.048, allocations: 2.372 MB / 0.9151 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/1.048, allocations: 0.5917 MB / 0.9156 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001481/1.05, allocations: 360.1 kB / 0.916 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/1.05, allocations: 127.4 kB / 0.9161 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of SimCode: time 1.062e-06/1.05, allocations: 0 / 0.9161 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of Templates: time 0.04532/1.096, allocations: 23.08 MB / 0.9386 GB, free: 0.9648 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.910061525180936] Failed to read output from testmodel.py, exit status != 0: 1.105426324531436 1.129371428 0.160803149 Calling exit ...