Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.0009743/0.0009743, allocations: 76.81 kB / 21.54 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.0009347/0.0009347, allocations: 166 kB / 24.96 MB, free: 8.242 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.9317/0.9317, allocations: 177.2 MB / 205.4 MB, free: 4.449 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.841/1.841, allocations: 389.6 MB / 0.6362 GB, free: 13.35 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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.776 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.347e-06/1.111e-05, allocations: 2.312 kB / 0.776 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.002898/0.002909, allocations: 3.098 MB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004233, allocations: 1.215 MB / 0.7802 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.004339, allocations: 11.94 kB / 0.7802 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.004711, allocations: 131.2 kB / 0.7803 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.00494, allocations: 194.8 kB / 0.7805 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.0052, allocations: 219.4 kB / 0.7807 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.005576, allocations: 0.5646 MB / 0.7813 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.00611, allocations: 346 kB / 0.7816 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.00634, allocations: 315.3 kB / 0.7819 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.006611, allocations: 227.4 kB / 0.7821 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.006649, allocations: 43.94 kB / 0.7822 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.006788, allocations: 103.8 kB / 0.7823 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.00689, allocations: 167.6 kB / 0.7824 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.00699, allocations: 139.7 kB / 0.7826 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.007303, allocations: 374.8 kB / 0.7829 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.007305, allocations: 0 / 0.7829 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.007305, allocations: 0 / 0.7829 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.007309, allocations: 0 / 0.7829 GB, free: 6.809 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0005923/0.007901, allocations: 0.5819 MB / 0.7835 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.566e-05/0.007927, allocations: 8.031 kB / 0.7835 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.008381, allocations: 152.6 kB / 0.7836 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.008603, allocations: 229.2 kB / 0.7839 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.008641, allocations: 51.27 kB / 0.7839 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.008677, allocations: 40.36 kB / 0.7839 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.009027, allocations: 431.7 kB / 0.7844 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.009037, allocations: 192 / 0.7844 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.009063, allocations: 32.09 kB / 0.7844 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/0.009098, allocations: 36.97 kB / 0.7844 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.009239, allocations: 102.8 kB / 0.7845 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009566/0.0102, allocations: 1.095 MB / 0.7856 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.01048, allocations: 157.1 kB / 0.7857 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.956e-05/0.01058, allocations: 64.83 kB / 0.7858 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.0106, allocations: 7.938 kB / 0.7858 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.01062, allocations: 42.55 kB / 0.7858 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.152e-06/0.01062, allocations: 0 / 0.7858 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.000539/0.01116, allocations: 234.6 kB / 0.7861 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.01118, allocations: 63.3 kB / 0.7861 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.01129, allocations: 202 kB / 0.7863 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.01131, allocations: 29.7 kB / 0.7864 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.01138, allocations: 212.1 kB / 0.7866 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.01142, allocations: 71.41 kB / 0.7866 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.01147, allocations: 45.69 kB / 0.7867 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.01154, allocations: 338.8 kB / 0.787 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.01158, allocations: 28.84 kB / 0.787 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.01167, allocations: 170.5 kB / 0.7872 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.01179, allocations: 156 kB / 0.7873 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.0118, allocations: 4 kB / 0.7873 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002804/0.01208, allocations: 210.6 kB / 0.7875 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01209, allocations: 12.06 kB / 0.7875 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01209, allocations: 0 / 0.7875 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.01243, allocations: 137.6 kB / 0.7877 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01254, allocations: 47.92 kB / 0.7877 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.0142, allocations: 2.488 MB / 0.7902 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.01429, allocations: 27.88 kB / 0.7902 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.0143, allocations: 8 kB / 0.7902 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.95e-05/0.01438, allocations: 111 kB / 0.7903 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.196e-05/0.01447, allocations: 174.5 kB / 0.7905 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001236/0.0146, allocations: 161.2 kB / 0.7906 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.0146, allocations: 4 kB / 0.7906 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0002556/0.01485, allocations: 207.2 kB / 0.7908 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.01486, allocations: 8 kB / 0.7908 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.01486, allocations: 0 / 0.7908 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.01511, allocations: 109.7 kB / 0.7909 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01522, allocations: 55.91 kB / 0.791 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.01641, allocations: 2.468 MB / 0.7934 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.0165, allocations: 19.89 kB / 0.7934 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.01651, allocations: 8 kB / 0.7934 GB, free: 11.23 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.861e-05/0.01659, allocations: 200.2 kB / 0.7936 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.01662, allocations: 24.05 kB / 0.7936 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.01665, allocations: 29.75 kB / 0.7937 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.01665, allocations: 3.984 kB / 0.7937 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-07/0.01665, allocations: 0 / 0.7937 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01665, allocations: 0 / 0.7937 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.01714, allocations: 0.5034 MB / 0.7942 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01714, allocations: 4 kB / 0.7942 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.01721, allocations: 32.05 kB / 0.7942 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.01745, allocations: 121.5 kB / 0.7943 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01746, allocations: 8 kB / 0.7943 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.01889, allocations: 2.475 MB / 0.7967 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01889, allocations: 4 kB / 0.7967 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.01913, allocations: 265.8 kB / 0.797 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.01917, allocations: 31.78 kB / 0.797 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.01918, allocations: 8 kB / 0.797 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.01925, allocations: 11.92 kB / 0.797 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.0193, allocations: 23.97 kB / 0.7971 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.0193, allocations: 4.062 kB / 0.7971 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.01935, allocations: 65.94 kB / 0.7971 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.01935, allocations: 0 / 0.7971 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002943/0.01964, allocations: 175.5 kB / 0.7973 GB, free: 6.977 MB / 0.7605 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 6.293e-05/0.01971, allocations: 84.36 kB / 0.7974 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007136/0.02042, allocations: 0.7037 MB / 0.7981 GB, free: 6.129 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.02042, allocations: 4 kB / 0.7981 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.02069, allocations: 310 kB / 0.7984 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.02088, allocations: 63.97 kB / 0.7984 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.02164, allocations: 0.5779 MB / 0.799 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.018e-05/0.02171, allocations: 120.6 kB / 0.7991 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.06e-05/0.02179, allocations: 25.94 kB / 0.7991 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.02191, allocations: 95.34 kB / 0.7992 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of SimCode: time 6.42e-07/0.02191, allocations: 0 / 0.7992 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of Templates: time 0.2708/0.2927, allocations: 4.958 MB / 0.8041 GB, free: 36.06 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.915323160588741]