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.000853/0.000853, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0008314/0.0008314, allocations: 159.7 kB / 24.96 MB, free: 8.715 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.9047/0.9047, allocations: 177.1 MB / 205.4 MB, free: 5.461 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.882/1.882, allocations: 389.6 MB / 0.6362 GB, free: 12.28 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.262e-06/1.262e-06, allocations: 0.6562 kB / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.979e-05, allocations: 2.844 kB / 0.7759 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003273/0.003293, allocations: 3.017 MB / 0.7789 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.004922, allocations: 1.142 MB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.005066, allocations: 11.94 kB / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.005493, allocations: 120 kB / 0.7801 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.005799, allocations: 196.7 kB / 0.7803 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.006037, allocations: 153.8 kB / 0.7805 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.006408, allocations: 494.2 kB / 0.7809 GB, free: 284 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.006718, allocations: 296.1 kB / 0.7812 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.006938, allocations: 271.4 kB / 0.7815 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.007247, allocations: 192.6 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.007282, allocations: 28 kB / 0.7817 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.007454, allocations: 100.5 kB / 0.7818 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.954e-05/0.007553, allocations: 135.6 kB / 0.7819 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.007646, allocations: 120.4 kB / 0.782 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.007964, allocations: 334.8 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.007968, allocations: 4.75 kB / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007969, allocations: 0 / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.007974, allocations: 0.5938 kB / 0.7823 GB, free: 14.83 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.0005315/0.008505, allocations: 0.5138 MB / 0.7828 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.008534, allocations: 9.344 kB / 0.7829 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005755/0.009109, allocations: 181.9 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.009365, allocations: 218.9 kB / 0.7832 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.009383, allocations: 21.84 kB / 0.7833 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.009413, allocations: 28.38 kB / 0.7833 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.009732, allocations: 423.9 kB / 0.7837 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.009743, allocations: 0.9375 kB / 0.7837 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.009766, allocations: 20.34 kB / 0.7837 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.009802, allocations: 37.27 kB / 0.7837 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.009919, allocations: 97.52 kB / 0.7838 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009678/0.01089, allocations: 1.317 MB / 0.7851 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.01104, allocations: 93.95 kB / 0.7852 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.01113, allocations: 65.81 kB / 0.7853 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.01114, allocations: 4 kB / 0.7853 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.01116, allocations: 31.09 kB / 0.7853 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.01116, allocations: 3.938 kB / 0.7853 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002413/0.0114, allocations: 120.4 kB / 0.7854 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.01143, allocations: 55.41 kB / 0.7855 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.01154, allocations: 215.3 kB / 0.7857 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.01155, allocations: 30.23 kB / 0.7857 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.01163, allocations: 205 kB / 0.7859 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.01166, allocations: 51.58 kB / 0.786 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.0117, allocations: 45.92 kB / 0.786 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.01178, allocations: 339.6 kB / 0.7863 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.01181, allocations: 24.41 kB / 0.7863 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.01187, allocations: 105.8 kB / 0.7864 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.01198, allocations: 159.4 kB / 0.7866 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01199, allocations: 0 / 0.7866 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001686/0.01216, allocations: 168.3 kB / 0.7868 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01217, allocations: 8 kB / 0.7868 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01218, allocations: 4 kB / 0.7868 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.01231, allocations: 34.47 kB / 0.7868 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01242, allocations: 55.92 kB / 0.7869 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005679/0.01298, allocations: 1.186 MB / 0.788 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.849e-05/0.01306, allocations: 23.83 kB / 0.788 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01307, allocations: 11.94 kB / 0.7881 GB, free: 8.578 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.434e-05/0.01315, allocations: 129.6 kB / 0.7882 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.01317, allocations: 17.7 kB / 0.7882 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.0132, allocations: 25.45 kB / 0.7882 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.0132, allocations: 0 / 0.7882 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.0132, allocations: 0 / 0.7882 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.0132, allocations: 0 / 0.7882 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.01362, allocations: 0.5826 MB / 0.7888 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01363, allocations: 4 kB / 0.7888 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.01368, allocations: 25.08 kB / 0.7888 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.393e-05/0.01376, allocations: 30.48 kB / 0.7888 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.01377, allocations: 4 kB / 0.7888 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000491/0.01426, allocations: 1.202 MB / 0.79 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01426, allocations: 0 / 0.79 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.01442, allocations: 288.6 kB / 0.7903 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.01446, allocations: 42.16 kB / 0.7903 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.01447, allocations: 4 kB / 0.7903 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.01454, allocations: 8 kB / 0.7903 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.01456, allocations: 23.91 kB / 0.7904 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01457, allocations: 4 kB / 0.7904 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.01462, allocations: 69 kB / 0.7904 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01462, allocations: 0 / 0.7904 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002208/0.01484, allocations: 83.72 kB / 0.7905 GB, free: 5.855 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 7.291e-05/0.01491, allocations: 85.39 kB / 0.7906 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.01513, allocations: 214.2 kB / 0.7908 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.01514, allocations: 0 / 0.7908 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.01523, allocations: 164.2 kB / 0.791 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01546, allocations: 53.73 kB / 0.791 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.01617, allocations: 0.5382 MB / 0.7915 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.433e-05/0.01624, allocations: 116.8 kB / 0.7916 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.01631, allocations: 26.33 kB / 0.7917 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.01641, allocations: 99.28 kB / 0.7918 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.01642, allocations: 0.9375 kB / 0.7918 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of Templates: time 0.004165/0.02058, allocations: 2.643 MB / 0.7944 GB, free: 1.992 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 -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.808333300054073]