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.001645/0.001645, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.002011/0.002011, allocations: 192.9 kB / 16.25 MB, free: 6.625 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 60.53 kB / 0.8986 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3246, allocations: 157.4 MB / 1.052 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00633/0.3309, allocations: 4.137 MB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.3337, allocations: 1.597 MB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.3341, allocations: 8 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.3357, allocations: 0.5451 MB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.3364, allocations: 215.1 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.3371, allocations: 195.7 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007195/0.3378, allocations: 0.5491 MB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.3386, allocations: 0.5098 MB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.339, allocations: 231.2 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.3395, allocations: 271.1 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.069e-05/0.3396, allocations: 36 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.3399, allocations: 159.7 kB / 1.061 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.3401, allocations: 151.6 kB / 1.061 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.3404, allocations: 199.2 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.341, allocations: 0.5295 MB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.341, allocations: 3.938 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.341, allocations: 0 / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.3411, allocations: 0 / 1.061 GB, free: 15.44 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.001364/0.3424, allocations: 0.6749 MB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3425, allocations: 12.62 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/0.3432, allocations: 100.4 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.3437, allocations: 303.6 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.179e-05/0.3438, allocations: 51.27 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.3438, allocations: 36.36 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.3449, allocations: 0.5009 MB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3449, allocations: 0 / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.3449, allocations: 16 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/0.345, allocations: 36.97 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.3458, allocations: 383.6 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.3483, allocations: 2.204 MB / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.349, allocations: 254.6 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.3494, allocations: 164.7 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.3495, allocations: 4 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3495, allocations: 30.56 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.3495, allocations: 0 / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.001495/0.351, allocations: 0.5689 MB / 1.067 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.351, allocations: 59.41 kB / 1.067 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.3513, allocations: 228.9 kB / 1.067 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3513, allocations: 37.64 kB / 1.067 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3514, allocations: 203.7 kB / 1.067 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.3515, allocations: 75 kB / 1.067 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.3516, allocations: 49.7 kB / 1.067 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3517, allocations: 326.8 kB / 1.067 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.3519, allocations: 100.8 kB / 1.068 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.3522, allocations: 183.6 kB / 1.068 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.3527, allocations: 273 kB / 1.068 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3527, allocations: 3.938 kB / 1.068 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008535/0.3536, allocations: 374.6 kB / 1.068 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3536, allocations: 13.03 kB / 1.068 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3536, allocations: 4 kB / 1.068 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005067/0.3541, allocations: 113.9 kB / 1.068 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.3544, allocations: 51.91 kB / 1.069 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.3578, allocations: 3.062 MB / 1.072 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.358, allocations: 27.83 kB / 1.072 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.3581, allocations: 8.094 kB / 1.072 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003236/0.3584, allocations: 220 kB / 1.072 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002601/0.3587, allocations: 175.1 kB / 1.072 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004647/0.3592, allocations: 274.5 kB / 1.072 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.3592, allocations: 0 / 1.072 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007929/0.36, allocations: 351.8 kB / 1.073 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.36, allocations: 11.88 kB / 1.073 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.36, allocations: 4 kB / 1.073 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/0.3603, allocations: 77.09 kB / 1.073 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.3606, allocations: 55.91 kB / 1.073 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.3626, allocations: 1.615 MB / 1.074 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.3629, allocations: 31.89 kB / 1.074 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3629, allocations: 11.94 kB / 1.074 GB, free: 1.121 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.0001305/0.363, allocations: 196.2 kB / 1.074 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.3631, allocations: 19.72 kB / 1.075 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/0.3632, allocations: 34.31 kB / 1.075 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3632, allocations: 3.984 kB / 1.075 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3632, allocations: 0 / 1.075 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3632, allocations: 11.94 kB / 1.075 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.3646, allocations: 0.8287 MB / 1.075 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3646, allocations: 0 / 1.075 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3647, allocations: 27.98 kB / 1.075 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.3652, allocations: 109.6 kB / 1.075 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.3652, allocations: 3.984 kB / 1.076 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/0.3681, allocations: 3.023 MB / 1.078 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3681, allocations: 3.938 kB / 1.078 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.3689, allocations: 410.6 kB / 1.079 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3691, allocations: 124.7 kB / 1.079 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3691, allocations: 4 kB / 1.079 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3693, allocations: 12 kB / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.3694, allocations: 19.97 kB / 1.079 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3694, allocations: 4 kB / 1.079 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001418/0.3696, allocations: 164.5 kB / 1.079 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3696, allocations: 0 / 1.079 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006315/0.3702, allocations: 171.4 kB / 1.079 GB, free: 11.55 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.000119/0.3703, allocations: 107.2 kB / 1.079 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.3722, allocations: 0.7728 MB / 1.08 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3722, allocations: 3.938 kB / 1.08 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.373, allocations: 373.3 kB / 1.081 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.3735, allocations: 64.61 kB / 1.081 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.3746, allocations: 0.7235 MB / 1.081 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.375, allocations: 0.8107 MB / 1.082 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.3752, allocations: 54.25 kB / 1.082 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.3753, allocations: 19.44 kB / 1.082 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.3753, allocations: 0 / 1.082 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of Templates: time 0.00855/0.3838, allocations: 4.549 MB / 1.087 GB, free: 3.98 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)