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.001667/0.001667, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001654/0.001654, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.47 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3467, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005555/0.3523, allocations: 4.111 MB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.3549, allocations: 1.597 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.355, allocations: 11.94 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.3566, allocations: 0.5833 MB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.3571, allocations: 234.8 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.3577, allocations: 215.5 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006297/0.3583, allocations: 0.5413 MB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007363/0.3591, allocations: 477.8 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.3593, allocations: 223.3 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.3598, allocations: 259 kB / 1.035 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.3598, allocations: 36 kB / 1.035 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.3602, allocations: 163.7 kB / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.3603, allocations: 147.7 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.3605, allocations: 195.1 kB / 1.035 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.3611, allocations: 0.5257 MB / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3611, allocations: 0 / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3611, allocations: 0 / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3611, allocations: 0 / 1.036 GB, free: 8.711 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.001138/0.3623, allocations: 0.6837 MB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3623, allocations: 12.03 kB / 1.036 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/0.363, allocations: 104.4 kB / 1.037 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.3635, allocations: 304.4 kB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/0.3635, allocations: 59.25 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.3636, allocations: 32.38 kB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.3644, allocations: 0.5009 MB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3644, allocations: 0 / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.3645, allocations: 16 kB / 1.037 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.3645, allocations: 32.98 kB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.3652, allocations: 387.6 kB / 1.038 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.3675, allocations: 2.188 MB / 1.04 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.3681, allocations: 262.7 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.3685, allocations: 156.7 kB / 1.04 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.3685, allocations: 4 kB / 1.04 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3686, allocations: 30.56 kB / 1.04 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.3686, allocations: 0 / 1.04 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.001483/0.3701, allocations: 0.5767 MB / 1.041 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.3701, allocations: 55.34 kB / 1.041 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.3704, allocations: 229 kB / 1.041 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.3704, allocations: 29.7 kB / 1.041 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3706, allocations: 207.7 kB / 1.041 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.3706, allocations: 67.02 kB / 1.042 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.3707, allocations: 49.7 kB / 1.042 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3709, allocations: 334.8 kB / 1.042 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.3711, allocations: 92.8 kB / 1.042 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.3714, allocations: 192 kB / 1.042 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.3718, allocations: 283 kB / 1.042 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3719, allocations: 4 kB / 1.042 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000817/0.3727, allocations: 374.8 kB / 1.043 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3727, allocations: 8 kB / 1.043 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.3727, allocations: 0 / 1.043 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004825/0.3732, allocations: 109.8 kB / 1.043 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.3734, allocations: 55.91 kB / 1.043 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.3766, allocations: 3.05 MB / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.3768, allocations: 31.73 kB / 1.046 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3769, allocations: 8 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003232/0.3772, allocations: 220 kB / 1.046 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002469/0.3774, allocations: 175.1 kB / 1.046 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004482/0.3779, allocations: 279.8 kB / 1.047 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.3779, allocations: 4 kB / 1.047 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007623/0.3787, allocations: 348 kB / 1.047 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3787, allocations: 16 kB / 1.047 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3787, allocations: 4 kB / 1.047 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.379, allocations: 76.78 kB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3792, allocations: 55.91 kB / 1.047 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.3812, allocations: 1.609 MB / 1.049 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.3815, allocations: 27.83 kB / 1.049 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3815, allocations: 15.88 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.0001448/0.3817, allocations: 200.2 kB / 1.049 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.3817, allocations: 19.86 kB / 1.049 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.3818, allocations: 34.17 kB / 1.049 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3818, allocations: 4 kB / 1.049 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3818, allocations: 0 / 1.049 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3818, allocations: 7.922 kB / 1.049 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3833, allocations: 0.829 MB / 1.05 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3833, allocations: 0 / 1.05 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3834, allocations: 35.91 kB / 1.05 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003775/0.3838, allocations: 105.7 kB / 1.05 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3838, allocations: 0 / 1.05 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.3868, allocations: 3.028 MB / 1.053 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3868, allocations: 0 / 1.053 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.3876, allocations: 413.6 kB / 1.053 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3877, allocations: 120.7 kB / 1.053 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.3877, allocations: 4 kB / 1.053 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.3879, allocations: 11.98 kB / 1.053 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.388, allocations: 23.97 kB / 1.053 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.388, allocations: 8 kB / 1.053 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001462/0.3882, allocations: 160.5 kB / 1.054 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3882, allocations: 0 / 1.054 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006336/0.3888, allocations: 163.4 kB / 1.054 GB, free: 4.824 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.0001276/0.3889, allocations: 111.2 kB / 1.054 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.3907, allocations: 0.76 MB / 1.055 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3908, allocations: 0 / 1.055 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.3915, allocations: 369.7 kB / 1.055 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3919, allocations: 57.7 kB / 1.055 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.3929, allocations: 0.5829 MB / 1.056 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3933, allocations: 0.8107 MB / 1.056 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000166/0.3935, allocations: 58.23 kB / 1.056 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.3936, allocations: 23.44 kB / 1.056 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3936, allocations: 0 / 1.056 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.009002/0.4026, allocations: 4.675 MB / 1.061 GB, free: 13.29 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 cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)