Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.0008982/0.0008982, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009786/0.0009786, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.9369/0.9369, allocations: 177.2 MB / 204.7 MB, free: 5.441 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.926/1.926, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.231e-05, allocations: 12.91 kB / 0.7753 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003369/0.003391, allocations: 3.021 MB / 0.7783 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.004978, allocations: 1.231 MB / 0.7795 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.005136, allocations: 11.94 kB / 0.7795 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.005588, allocations: 112.2 kB / 0.7796 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.005869, allocations: 200.2 kB / 0.7798 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.006264, allocations: 243.8 kB / 0.78 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.006681, allocations: 0.5294 MB / 0.7806 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.006995, allocations: 284.7 kB / 0.7808 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.007244, allocations: 283.4 kB / 0.7811 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.007533, allocations: 216.6 kB / 0.7813 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.007571, allocations: 32.88 kB / 0.7813 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.007734, allocations: 103.7 kB / 0.7814 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.007832, allocations: 147.6 kB / 0.7816 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.007917, allocations: 129.1 kB / 0.7817 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.008262, allocations: 354.8 kB / 0.782 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.008265, allocations: 3.984 kB / 0.782 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.008266, allocations: 0.6562 kB / 0.782 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.008271, allocations: 0 / 0.782 GB, free: 14.46 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0005956/0.008867, allocations: 0.541 MB / 0.7826 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.00891, allocations: 9.344 kB / 0.7826 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.00931, allocations: 121.6 kB / 0.7827 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.009557, allocations: 228.7 kB / 0.7829 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.009578, allocations: 21.03 kB / 0.7829 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.009608, allocations: 33.33 kB / 0.783 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.009955, allocations: 421 kB / 0.7834 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.009966, allocations: 1.062 kB / 0.7834 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.00999, allocations: 24.09 kB / 0.7834 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.01003, allocations: 41.28 kB / 0.7834 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.01016, allocations: 93.08 kB / 0.7835 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.0111, allocations: 1.168 MB / 0.7847 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.01133, allocations: 95 kB / 0.7847 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.01143, allocations: 67.83 kB / 0.7848 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.01145, allocations: 11.88 kB / 0.7848 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.01147, allocations: 39.08 kB / 0.7849 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.315e-06/0.01147, allocations: 0 / 0.7849 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003314/0.0118, allocations: 157.1 kB / 0.785 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.01182, allocations: 59.39 kB / 0.7851 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.01194, allocations: 233.9 kB / 0.7853 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.01195, allocations: 25.7 kB / 0.7853 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.01203, allocations: 212.1 kB / 0.7855 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.01206, allocations: 68.25 kB / 0.7856 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.01212, allocations: 57.92 kB / 0.7856 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.01219, allocations: 334.8 kB / 0.786 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.01223, allocations: 31.47 kB / 0.786 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.01232, allocations: 153.4 kB / 0.7861 GB, free: 10 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.01246, allocations: 192 kB / 0.7863 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01246, allocations: 0 / 0.7863 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002277/0.01269, allocations: 210.6 kB / 0.7865 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.0127, allocations: 8 kB / 0.7865 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01271, allocations: 4 kB / 0.7865 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.01292, allocations: 56.69 kB / 0.7866 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.01306, allocations: 69.33 kB / 0.7866 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007061/0.01376, allocations: 1.213 MB / 0.7878 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.01387, allocations: 36.22 kB / 0.7879 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.01388, allocations: 18.77 kB / 0.7879 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.896e-05/0.01396, allocations: 107.5 kB / 0.788 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.704e-05/0.01406, allocations: 170.1 kB / 0.7882 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001362/0.0142, allocations: 179.7 kB / 0.7883 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.0142, allocations: 0 / 0.7883 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000198/0.0144, allocations: 192.9 kB / 0.7885 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.0144, allocations: 8 kB / 0.7885 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.01441, allocations: 4 kB / 0.7885 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.494e-05/0.01449, allocations: 30.77 kB / 0.7885 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.01462, allocations: 72.81 kB / 0.7886 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004964/0.01512, allocations: 1.198 MB / 0.7898 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.01521, allocations: 23.88 kB / 0.7898 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01522, allocations: 13.03 kB / 0.7898 GB, free: 5.887 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/0.01531, allocations: 197.3 kB / 0.79 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.01534, allocations: 31.84 kB / 0.79 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.01537, allocations: 34.12 kB / 0.7901 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01537, allocations: 1.062 kB / 0.7901 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01537, allocations: 3.984 kB / 0.7901 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01538, allocations: 0 / 0.7901 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.01578, allocations: 464.5 kB / 0.7905 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01578, allocations: 4 kB / 0.7905 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.01587, allocations: 37.12 kB / 0.7906 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.212e-05/0.01596, allocations: 31.36 kB / 0.7906 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.01597, allocations: 7.938 kB / 0.7906 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000478/0.01645, allocations: 1.192 MB / 0.7918 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01645, allocations: 12.86 kB / 0.7918 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.0166, allocations: 219.8 kB / 0.792 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.01665, allocations: 31.84 kB / 0.792 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.01666, allocations: 7.938 kB / 0.792 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.01673, allocations: 11.98 kB / 0.792 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.01677, allocations: 19.91 kB / 0.7921 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01677, allocations: 5 kB / 0.7921 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.01682, allocations: 70.78 kB / 0.7921 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01682, allocations: 0 / 0.7921 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000314/0.01714, allocations: 156.3 kB / 0.7923 GB, free: 3.211 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 8.589e-05/0.01722, allocations: 81.42 kB / 0.7923 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.01761, allocations: 430.1 kB / 0.7928 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01762, allocations: 5 kB / 0.7928 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.01771, allocations: 171.5 kB / 0.7929 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.01796, allocations: 66.48 kB / 0.793 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.01871, allocations: 0.5452 MB / 0.7935 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.01878, allocations: 117.7 kB / 0.7936 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.0189, allocations: 37.42 kB / 0.7937 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.01902, allocations: 107.3 kB / 0.7938 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01902, allocations: 0.6875 kB / 0.7938 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of Templates: time 0.00573/0.02475, allocations: 3.93 MB / 0.7976 GB, free: 13.79 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9610736928880215]