Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.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.0009152/0.0009152, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009633/0.0009633, allocations: 173.8 kB / 25.18 MB, free: 9.109 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 0.9518/0.9518, allocations: 177.1 MB / 205.6 MB, free: 5.008 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.814/1.814, allocations: 389.6 MB / 0.6364 GB, free: 12.19 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7755 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.21e-05, allocations: 5.359 kB / 0.7755 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00351/0.003532, allocations: 3.01 MB / 0.7785 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.00507, allocations: 1.138 MB / 0.7796 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.00521, allocations: 11.94 kB / 0.7796 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004524/0.005663, allocations: 129.7 kB / 0.7797 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.005979, allocations: 190.8 kB / 0.7799 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.00623, allocations: 158.3 kB / 0.78 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.006619, allocations: 498.2 kB / 0.7805 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005963/0.007215, allocations: 288.6 kB / 0.7808 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.007439, allocations: 267.4 kB / 0.781 GB, free: 356 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.007722, allocations: 198.1 kB / 0.7812 GB, free: 160 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.007767, allocations: 28 kB / 0.7813 GB, free: 132 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.007943, allocations: 95.73 kB / 0.7813 GB, free: 36 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.008049, allocations: 139.6 kB / 0.7815 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.008143, allocations: 127.7 kB / 0.7816 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.008457, allocations: 318.9 kB / 0.7819 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.00846, allocations: 4.719 kB / 0.7819 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.193e-06/0.008461, allocations: 4 kB / 0.7819 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.008466, allocations: 0 / 0.7819 GB, free: 15.45 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0005629/0.009029, allocations: 0.5183 MB / 0.7824 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.009061, allocations: 9.344 kB / 0.7824 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005133/0.009574, allocations: 179 kB / 0.7826 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.009807, allocations: 218 kB / 0.7828 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.009823, allocations: 24.97 kB / 0.7828 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.009854, allocations: 28.88 kB / 0.7829 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.01018, allocations: 431.4 kB / 0.7833 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.01019, allocations: 1.812 kB / 0.7833 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.01021, allocations: 12.38 kB / 0.7833 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.01024, allocations: 32.58 kB / 0.7833 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.01036, allocations: 106.3 kB / 0.7834 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.01134, allocations: 1.32 MB / 0.7847 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.0115, allocations: 90.03 kB / 0.7848 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.01159, allocations: 60.31 kB / 0.7848 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.0116, allocations: 4 kB / 0.7848 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.01162, allocations: 39.22 kB / 0.7849 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.01162, allocations: 0 / 0.7849 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002681/0.01189, allocations: 119.8 kB / 0.785 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.01192, allocations: 56.88 kB / 0.7851 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.01203, allocations: 215.3 kB / 0.7853 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.01205, allocations: 33.7 kB / 0.7853 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.01213, allocations: 200.1 kB / 0.7855 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.01215, allocations: 56.95 kB / 0.7855 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.01221, allocations: 49.91 kB / 0.7856 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.01229, allocations: 326.8 kB / 0.7859 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.01231, allocations: 20.45 kB / 0.7859 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.01239, allocations: 109.6 kB / 0.786 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.0125, allocations: 160 kB / 0.7862 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01251, allocations: 0 / 0.7862 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001871/0.01269, allocations: 168.8 kB / 0.7863 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.01271, allocations: 8 kB / 0.7863 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01272, allocations: 8 kB / 0.7863 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.01287, allocations: 35.52 kB / 0.7864 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01298, allocations: 47.92 kB / 0.7864 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008982/0.01388, allocations: 1.196 MB / 0.7876 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.059e-05/0.01396, allocations: 19.89 kB / 0.7876 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01397, allocations: 11.94 kB / 0.7876 GB, free: 9.195 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 8.092e-05/0.01405, allocations: 132.5 kB / 0.7878 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.01408, allocations: 19.98 kB / 0.7878 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.0141, allocations: 28.27 kB / 0.7878 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.01411, allocations: 0 / 0.7878 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01411, allocations: 0 / 0.7878 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01411, allocations: 0 / 0.7878 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.01456, allocations: 0.5736 MB / 0.7884 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01456, allocations: 4 kB / 0.7884 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.01461, allocations: 27.98 kB / 0.7884 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.743e-05/0.0147, allocations: 34.78 kB / 0.7884 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.01471, allocations: 0 / 0.7884 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005033/0.01521, allocations: 1.197 MB / 0.7896 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01521, allocations: 4 kB / 0.7896 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.01537, allocations: 297.4 kB / 0.7899 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.01541, allocations: 31.78 kB / 0.7899 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.01542, allocations: 8 kB / 0.7899 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.0155, allocations: 14.36 kB / 0.7899 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.01552, allocations: 19.92 kB / 0.79 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.01553, allocations: 4 kB / 0.79 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.01558, allocations: 67.41 kB / 0.79 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-08/0.01558, allocations: 0 / 0.79 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002149/0.0158, allocations: 75.84 kB / 0.7901 GB, free: 6.477 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (14): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 9.377e-05/0.01589, allocations: 90.42 kB / 0.7902 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.01612, allocations: 214.9 kB / 0.7904 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01613, allocations: 3.938 kB / 0.7904 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.01622, allocations: 160.4 kB / 0.7905 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01646, allocations: 53.62 kB / 0.7906 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.01722, allocations: 0.5817 MB / 0.7912 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.01734, allocations: 181.7 kB / 0.7913 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.01746, allocations: 95.34 kB / 0.7914 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.01746, allocations: 0 / 0.7914 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.004719/0.02218, allocations: 4.328 MB / 0.7956 GB, free: 0.7852 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.774657719768584]