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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001611/0.001611, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001977/0.001977, allocations: 196.9 kB / 16.14 MB, free: 6.719 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.11 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3793, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006178/0.3855, allocations: 4.142 MB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.3882, allocations: 1.586 MB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.3885, allocations: 11.94 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.39, allocations: 0.5595 MB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.3905, allocations: 215.1 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.3911, allocations: 203.6 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.3918, allocations: 0.7637 MB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.3923, allocations: 315.5 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.3925, allocations: 203.2 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.393, allocations: 259.1 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.3931, allocations: 31.94 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.3935, allocations: 195.7 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.3937, allocations: 139.6 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.3939, allocations: 187 kB / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.3946, allocations: 0.522 MB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3946, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3946, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3946, allocations: 8 kB / 1.061 GB, free: 15.55 MB / 0.8262 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.001344/0.396, allocations: 0.671 MB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.396, allocations: 8.031 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/0.3967, allocations: 108.4 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3972, allocations: 303.5 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.819e-05/0.3973, allocations: 59.25 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.3973, allocations: 32.38 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.3981, allocations: 0.5009 MB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3982, allocations: 7.875 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.3982, allocations: 19.98 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.3983, allocations: 28.98 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006814/0.399, allocations: 375.7 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.4016, allocations: 2.208 MB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/0.4023, allocations: 256.2 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.4027, allocations: 156.7 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.4027, allocations: 7.922 kB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4027, allocations: 38.56 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.963e-06/0.4028, allocations: 0 / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.001527/0.4043, allocations: 0.568 MB / 1.066 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4043, allocations: 51.41 kB / 1.066 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.4046, allocations: 228.9 kB / 1.067 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.4046, allocations: 29.7 kB / 1.067 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.4048, allocations: 211.7 kB / 1.067 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.4048, allocations: 70.94 kB / 1.067 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.4049, allocations: 49.7 kB / 1.067 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4051, allocations: 334.8 kB / 1.067 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.4053, allocations: 96.8 kB / 1.067 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.4056, allocations: 183.6 kB / 1.068 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.4061, allocations: 271.1 kB / 1.068 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4061, allocations: 0 / 1.068 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000884/0.407, allocations: 380 kB / 1.068 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.407, allocations: 8.312 kB / 1.068 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.407, allocations: 11.98 kB / 1.068 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/0.4075, allocations: 109.6 kB / 1.068 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.4078, allocations: 55.84 kB / 1.068 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.4111, allocations: 2.826 MB / 1.071 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.4114, allocations: 35.67 kB / 1.071 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.4115, allocations: 8 kB / 1.071 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000377/0.4119, allocations: 220 kB / 1.071 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002561/0.4121, allocations: 179 kB / 1.072 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004466/0.4126, allocations: 270.8 kB / 1.072 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4126, allocations: 4 kB / 1.072 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007621/0.4134, allocations: 348.1 kB / 1.072 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4134, allocations: 16.02 kB / 1.072 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.4134, allocations: 0 / 1.072 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/0.4137, allocations: 80.78 kB / 1.072 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.4139, allocations: 55.91 kB / 1.072 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.4158, allocations: 1.512 MB / 1.074 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.4161, allocations: 31.89 kB / 1.074 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4161, allocations: 15.94 kB / 1.074 GB, free: 1.566 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.0001341/0.4163, allocations: 192.1 kB / 1.074 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.4163, allocations: 27.72 kB / 1.074 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.4164, allocations: 30.11 kB / 1.074 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4164, allocations: 4 kB / 1.074 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4164, allocations: 0 / 1.074 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4164, allocations: 0 / 1.074 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.4178, allocations: 0.823 MB / 1.075 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4179, allocations: 8.062 kB / 1.075 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.418, allocations: 27.92 kB / 1.075 GB, free: 384 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/0.4184, allocations: 109.6 kB / 1.075 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.4185, allocations: 4 kB / 1.075 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002857/0.4213, allocations: 2.802 MB / 1.078 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4213, allocations: 0 / 1.078 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.4221, allocations: 410.6 kB / 1.078 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.4223, allocations: 124.7 kB / 1.078 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.4223, allocations: 15.94 kB / 1.078 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.4225, allocations: 7.984 kB / 1.078 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.4226, allocations: 19.97 kB / 1.078 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4227, allocations: 15.94 kB / 1.078 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001616/0.4228, allocations: 156.5 kB / 1.078 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4228, allocations: 0 / 1.078 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007059/0.4235, allocations: 167.4 kB / 1.079 GB, free: 12.24 MB / 0.8419 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.0001486/0.4237, allocations: 107.2 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.4257, allocations: 0.7475 MB / 1.079 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4257, allocations: 4.312 kB / 1.079 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.4265, allocations: 361.2 kB / 1.08 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.427, allocations: 58.58 kB / 1.08 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4283, allocations: 0.7184 MB / 1.081 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.4288, allocations: 0.8145 MB / 1.081 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.429, allocations: 62.23 kB / 1.081 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.4291, allocations: 15.44 kB / 1.081 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of SimCode: time 1.754e-06/0.4291, allocations: 4 kB / 1.081 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of Templates: time 0.009397/0.4385, allocations: 4.301 MB / 1.086 GB, free: 4.957 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)