Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 116.7 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 193.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006179/0.2839, allocations: 4.109 MB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.2866, allocations: 1.597 MB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.2868, allocations: 8 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.2885, allocations: 0.572 MB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.2891, allocations: 238.9 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.2898, allocations: 215.6 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006844/0.2905, allocations: 0.5413 MB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007356/0.2912, allocations: 473.8 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.2915, allocations: 227.3 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.292, allocations: 263 kB / 1.035 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.2921, allocations: 36 kB / 1.035 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.2924, allocations: 159.7 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.2926, allocations: 151.7 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.2928, allocations: 195 kB / 1.035 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.2934, allocations: 0.5296 MB / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2935, allocations: 0 / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2935, allocations: 0 / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.2935, allocations: 0 / 1.036 GB, free: 8.727 MB / 0.8106 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.001283/0.2948, allocations: 0.6788 MB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2948, allocations: 8.75 kB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007603/0.2956, allocations: 112.3 kB / 1.037 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.2961, allocations: 300.4 kB / 1.037 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.2962, allocations: 55.25 kB / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.2962, allocations: 32.38 kB / 1.037 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/0.2971, allocations: 0.5165 MB / 1.037 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2971, allocations: 0 / 1.037 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.2972, allocations: 12 kB / 1.037 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/0.2972, allocations: 28.98 kB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007566/0.298, allocations: 379.7 kB / 1.038 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.3006, allocations: 2.192 MB / 1.04 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.3013, allocations: 270.5 kB / 1.04 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.3016, allocations: 152.7 kB / 1.04 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3017, allocations: 4 kB / 1.04 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3017, allocations: 30.56 kB / 1.04 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.3017, allocations: 0 / 1.04 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.001496/0.3032, allocations: 0.5805 MB / 1.041 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3033, allocations: 55.41 kB / 1.041 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.3035, allocations: 225 kB / 1.041 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.3036, allocations: 29.7 kB / 1.041 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3037, allocations: 203.7 kB / 1.041 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.3038, allocations: 75 kB / 1.042 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.3039, allocations: 49.7 kB / 1.042 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.304, allocations: 330.8 kB / 1.042 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.3042, allocations: 96.78 kB / 1.042 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.3045, allocations: 196 kB / 1.042 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.305, allocations: 271.4 kB / 1.042 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.305, allocations: 0 / 1.042 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008737/0.3059, allocations: 378.7 kB / 1.043 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3059, allocations: 8.312 kB / 1.043 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3059, allocations: 7.938 kB / 1.043 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/0.3064, allocations: 105.6 kB / 1.043 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3067, allocations: 55.91 kB / 1.043 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.3101, allocations: 3.043 MB / 1.046 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.3103, allocations: 31.73 kB / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.3104, allocations: 16 kB / 1.046 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003421/0.3107, allocations: 220.1 kB / 1.046 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002541/0.311, allocations: 179 kB / 1.046 GB, free: 13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004352/0.3114, allocations: 271.7 kB / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.3114, allocations: 0 / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007637/0.3122, allocations: 356.1 kB / 1.047 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3122, allocations: 7.938 kB / 1.047 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3123, allocations: 7.984 kB / 1.047 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000291/0.3125, allocations: 76.86 kB / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.3128, allocations: 51.97 kB / 1.047 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.3147, allocations: 1.628 MB / 1.049 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.315, allocations: 31.77 kB / 1.049 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.315, allocations: 11.94 kB / 1.049 GB, free: 10.38 MB / 0.8262 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 0.0001369/0.3151, allocations: 200.3 kB / 1.049 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.3152, allocations: 23.72 kB / 1.049 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.3153, allocations: 30.17 kB / 1.049 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3153, allocations: 0 / 1.049 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3153, allocations: 4 kB / 1.049 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3153, allocations: 3.938 kB / 1.049 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.3166, allocations: 0.8272 MB / 1.05 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3167, allocations: 0 / 1.05 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3168, allocations: 31.97 kB / 1.05 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/0.3172, allocations: 105.7 kB / 1.05 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.3173, allocations: 4 kB / 1.05 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.3201, allocations: 3.02 MB / 1.053 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3201, allocations: 0 / 1.053 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.3209, allocations: 411.2 kB / 1.053 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3211, allocations: 128.7 kB / 1.053 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.3211, allocations: 4 kB / 1.053 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3213, allocations: 11.98 kB / 1.053 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.3214, allocations: 19.92 kB / 1.053 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3214, allocations: 4 kB / 1.053 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001608/0.3216, allocations: 164.5 kB / 1.054 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3216, allocations: 0 / 1.054 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006482/0.3222, allocations: 171.4 kB / 1.054 GB, free: 4.836 MB / 0.8262 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 0.0001296/0.3224, allocations: 103.2 kB / 1.054 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.3242, allocations: 0.7564 MB / 1.055 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3243, allocations: 4.062 kB / 1.055 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.325, allocations: 373.1 kB / 1.055 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.3255, allocations: 69.03 kB / 1.055 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.3265, allocations: 0.5778 MB / 1.056 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.3269, allocations: 0.8068 MB / 1.056 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002442/0.3272, allocations: 58.23 kB / 1.056 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.3272, allocations: 19.44 kB / 1.056 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3272, allocations: 3.938 kB / 1.056 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of Templates: time 0.01015/0.3374, allocations: 4.67 MB / 1.061 GB, free: 13.31 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)