Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001331/0.001331, allocations: 80.88 kB / 21.55 MB, free: 2.945 MB / 18.57 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.001494/0.001494, allocations: 166.1 kB / 24.97 MB, free: 8.656 MB / 18.57 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.053/1.053, allocations: 177.1 MB / 205.4 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.934/1.934, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7759 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.201e-05, allocations: 3.406 kB / 0.7759 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002821/0.002833, allocations: 2.609 MB / 0.7785 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004083, allocations: 1.013 MB / 0.7795 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004189, allocations: 4 kB / 0.7795 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.004566, allocations: 99.38 kB / 0.7796 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.004784, allocations: 140.6 kB / 0.7797 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.004951, allocations: 108.3 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.005203, allocations: 315.4 kB / 0.7801 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.005433, allocations: 188.2 kB / 0.7803 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.005575, allocations: 175.6 kB / 0.7805 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.005796, allocations: 123.6 kB / 0.7806 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.005822, allocations: 20 kB / 0.7806 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.005956, allocations: 88.61 kB / 0.7807 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.006026, allocations: 91.73 kB / 0.7808 GB, free: 492 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.006089, allocations: 80.58 kB / 0.7808 GB, free: 412 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.006317, allocations: 227.2 kB / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.006318, allocations: 2.688 kB / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006319, allocations: 0 / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.006323, allocations: 0 / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000453/0.006776, allocations: 424.1 kB / 0.7815 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.006808, allocations: 9.344 kB / 0.7815 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.007176, allocations: 111.5 kB / 0.7816 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.007427, allocations: 186.4 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.00744, allocations: 12.75 kB / 0.7818 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.007458, allocations: 18.69 kB / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.007691, allocations: 272.1 kB / 0.7821 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.007699, allocations: 192 / 0.7821 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.007718, allocations: 16.36 kB / 0.7821 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.007743, allocations: 20.3 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.007825, allocations: 61.38 kB / 0.7821 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.008496, allocations: 0.8938 MB / 0.783 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.008601, allocations: 62.06 kB / 0.7831 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.008622, allocations: 14.61 kB / 0.7831 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.008627, allocations: 0 / 0.7831 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.008646, allocations: 34.56 kB / 0.7831 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.008647, allocations: 0 / 0.7831 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000212/0.008859, allocations: 98.94 kB / 0.7832 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.533e-05/0.008874, allocations: 52.44 kB / 0.7833 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/0.008967, allocations: 176 kB / 0.7834 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.008977, allocations: 30.23 kB / 0.7835 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.009037, allocations: 163.9 kB / 0.7836 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.009053, allocations: 32.89 kB / 0.7837 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.009089, allocations: 33.67 kB / 0.7837 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.009164, allocations: 326.8 kB / 0.784 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.00918, allocations: 12.8 kB / 0.784 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.009224, allocations: 78.75 kB / 0.7841 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.009302, allocations: 106.5 kB / 0.7842 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009305, allocations: 4.938 kB / 0.7842 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001261/0.009431, allocations: 127.5 kB / 0.7843 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.009442, allocations: 5.188 kB / 0.7843 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.009447, allocations: 7.938 kB / 0.7843 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.009572, allocations: 36.72 kB / 0.7844 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.009638, allocations: 27.92 kB / 0.7844 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005433/0.01018, allocations: 1.196 MB / 0.7856 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.01024, allocations: 19.83 kB / 0.7856 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.01024, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/0.01031, allocations: 120.7 kB / 0.7857 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.01033, allocations: 8 kB / 0.7857 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.01035, allocations: 22.02 kB / 0.7857 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01035, allocations: 1.094 kB / 0.7857 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.01035, allocations: 0 / 0.7857 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.01037, allocations: 19.84 kB / 0.7857 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.01038, allocations: 13.58 kB / 0.7858 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.01043, allocations: 7.984 kB / 0.7858 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.01045, allocations: 4 kB / 0.7858 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001081/0.01055, allocations: 186.8 kB / 0.7859 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001249/0.01068, allocations: 296.6 kB / 0.7862 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.365e-05/0.0107, allocations: 21.88 kB / 0.7862 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.01073, allocations: 40.81 kB / 0.7863 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of Backend: time 2.11e-07/0.01073, allocations: 0 / 0.7863 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.01111, allocations: 286.9 kB / 0.7866 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0007616/0.01188, allocations: 0.8828 MB / 0.7874 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of Templates: time 0.004032/0.01591, allocations: 2.419 MB / 0.7898 GB, free: 6.938 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.058863424696028]