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.0009714/0.0009714, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001239/0.001239, allocations: 171.6 kB / 25.05 MB, free: 8.738 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.942/0.942, allocations: 177.1 MB / 205.5 MB, free: 4.438 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.887/1.887, allocations: 389.6 MB / 0.6363 GB, free: 13.33 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.412e-06/1.412e-06, allocations: 0 / 0.7761 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.741e-05, allocations: 9.484 kB / 0.7761 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003196/0.003214, allocations: 3.005 MB / 0.7791 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.004846, allocations: 1.137 MB / 0.7802 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.004962, allocations: 15.94 kB / 0.7802 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.00537, allocations: 115.3 kB / 0.7803 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.005767, allocations: 198.7 kB / 0.7805 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.006075, allocations: 159.6 kB / 0.7806 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.006477, allocations: 498.2 kB / 0.7811 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.006797, allocations: 288 kB / 0.7814 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.007025, allocations: 267.4 kB / 0.7817 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.00735, allocations: 191.5 kB / 0.7818 GB, free: 8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.007388, allocations: 28 kB / 0.7819 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.007572, allocations: 99.78 kB / 0.782 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.007679, allocations: 139.6 kB / 0.7821 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.007773, allocations: 123.7 kB / 0.7822 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.008099, allocations: 322.9 kB / 0.7825 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.0081, allocations: 4 kB / 0.7825 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.72e-07/0.008101, allocations: 3.938 kB / 0.7825 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.008107, allocations: 0 / 0.7825 GB, free: 7.293 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.0005462/0.008654, allocations: 0.5193 MB / 0.783 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.008683, allocations: 8.031 kB / 0.783 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/0.009241, allocations: 184.6 kB / 0.7832 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.009468, allocations: 217.2 kB / 0.7834 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.009485, allocations: 21.03 kB / 0.7834 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.009516, allocations: 32.38 kB / 0.7835 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.01001, allocations: 423.4 kB / 0.7839 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01002, allocations: 4.188 kB / 0.7839 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.01004, allocations: 16.38 kB / 0.7839 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.01007, allocations: 36.56 kB / 0.7839 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.0102, allocations: 92.42 kB / 0.784 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.01111, allocations: 1.329 MB / 0.7853 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.01125, allocations: 89.36 kB / 0.7854 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.01134, allocations: 56.81 kB / 0.7855 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.01135, allocations: 7.984 kB / 0.7855 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.01137, allocations: 38.5 kB / 0.7855 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.01137, allocations: 4 kB / 0.7855 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002207/0.01159, allocations: 129.9 kB / 0.7856 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.01161, allocations: 51.41 kB / 0.7857 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.01172, allocations: 211.3 kB / 0.7859 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.01173, allocations: 29.7 kB / 0.7859 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.01181, allocations: 204.1 kB / 0.7861 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.01183, allocations: 59.52 kB / 0.7862 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.01188, allocations: 49.88 kB / 0.7862 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.01196, allocations: 342.8 kB / 0.7865 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.01198, allocations: 16.47 kB / 0.7865 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.01204, allocations: 104.1 kB / 0.7866 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.01215, allocations: 149.8 kB / 0.7868 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.01215, allocations: 3.938 kB / 0.7868 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001636/0.01232, allocations: 169.7 kB / 0.787 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01233, allocations: 16.05 kB / 0.787 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.01234, allocations: 4 kB / 0.787 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.01245, allocations: 24.84 kB / 0.787 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.01255, allocations: 55.91 kB / 0.7871 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005059/0.01306, allocations: 1.191 MB / 0.7882 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.01314, allocations: 23.78 kB / 0.7882 GB, free: 1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01315, allocations: 15.94 kB / 0.7883 GB, free: 0.9844 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 7.074e-05/0.01323, allocations: 124.6 kB / 0.7884 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.01325, allocations: 19.97 kB / 0.7884 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.01327, allocations: 21.47 kB / 0.7884 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-07/0.01328, allocations: 4.125 kB / 0.7884 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01328, allocations: 4 kB / 0.7884 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01328, allocations: 3.984 kB / 0.7884 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.01368, allocations: 0.5723 MB / 0.789 GB, free: 176 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01369, allocations: 4 kB / 0.789 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.01373, allocations: 23.98 kB / 0.789 GB, free: 148 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.647e-05/0.01381, allocations: 33.02 kB / 0.789 GB, free: 112 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01381, allocations: 12 kB / 0.7891 GB, free: 100 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004903/0.01431, allocations: 1.19 MB / 0.7902 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.01431, allocations: 12.06 kB / 0.7902 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.01446, allocations: 288.6 kB / 0.7905 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.01449, allocations: 31.83 kB / 0.7905 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.0145, allocations: 4 kB / 0.7905 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.01471, allocations: 12 kB / 0.7905 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.01473, allocations: 15.91 kB / 0.7906 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.01473, allocations: 4 kB / 0.7906 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.01478, allocations: 63.42 kB / 0.7906 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.01478, allocations: 4 kB / 0.7906 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002076/0.01498, allocations: 83.78 kB / 0.7907 GB, free: 14.25 MB / 0.7605 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 6.492e-05/0.01505, allocations: 84.34 kB / 0.7908 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.01525, allocations: 215.8 kB / 0.791 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01525, allocations: 192 / 0.791 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.01534, allocations: 175.3 kB / 0.7912 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01554, allocations: 52.62 kB / 0.7912 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.0162, allocations: 0.5279 MB / 0.7917 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.118e-05/0.01626, allocations: 112.1 kB / 0.7918 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.24e-05/0.01632, allocations: 21.94 kB / 0.7919 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.01642, allocations: 103.3 kB / 0.792 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of SimCode: time 6.71e-07/0.01642, allocations: 0 / 0.792 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of Templates: time 0.00405/0.02047, allocations: 2.648 MB / 0.7945 GB, free: 10.25 MB / 0.7605 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.906926725059748]