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.001419/0.001419, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001622/0.001622, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003476, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8328, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005362/0.8382, allocations: 3.511 MB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003719/0.842, allocations: 1.478 MB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005354/0.8426, allocations: 7.938 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.843, allocations: 67.59 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.8441, allocations: 151.6 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.8449, allocations: 174.6 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.8455, allocations: 307.3 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000544/0.8461, allocations: 389.7 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.8463, allocations: 159.4 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.8466, allocations: 163.4 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.8467, allocations: 20 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.8469, allocations: 75.89 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.8471, allocations: 119.6 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.658e-05/0.8472, allocations: 93.52 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.8477, allocations: 392.9 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8477, allocations: 0 / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8477, allocations: 0 / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.8477, allocations: 4 kB / 1.028 GB, free: 9.977 MB / 0.7794 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.001372/0.8491, allocations: 0.6294 MB / 1.028 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.405e-05/0.8492, allocations: 15.98 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/0.8501, allocations: 115.4 kB / 1.028 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.8506, allocations: 282.5 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.8508, allocations: 58.66 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.8508, allocations: 39.97 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.8518, allocations: 0.4968 MB / 1.029 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8519, allocations: 0 / 1.029 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.8519, allocations: 19.98 kB / 1.029 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.852, allocations: 28.98 kB / 1.029 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.8527, allocations: 391.7 kB / 1.03 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.8553, allocations: 2.212 MB / 1.032 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.8561, allocations: 274.6 kB / 1.032 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.8562, allocations: 7.984 kB / 1.032 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.8562, allocations: 34.91 kB / 1.032 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.8562, allocations: 0 / 1.032 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.00151/0.8577, allocations: 0.5958 MB / 1.033 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.8578, allocations: 55.41 kB / 1.033 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.858, allocations: 229 kB / 1.033 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.8581, allocations: 25.7 kB / 1.033 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.8582, allocations: 215.6 kB / 1.033 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.8583, allocations: 67.08 kB / 1.033 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.8583, allocations: 4 kB / 1.033 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8584, allocations: 334.8 kB / 1.034 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.8587, allocations: 103.9 kB / 1.034 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.859, allocations: 186.4 kB / 1.034 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.8592, allocations: 118 kB / 1.034 GB, free: 3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.8592, allocations: 4 kB / 1.034 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008477/0.8601, allocations: 388.1 kB / 1.034 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003886/0.8605, allocations: 0.8731 MB / 1.035 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.8605, allocations: 7.938 kB / 1.035 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005149/0.861, allocations: 113.6 kB / 1.035 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.8613, allocations: 55.91 kB / 1.035 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.8644, allocations: 2.855 MB / 1.038 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.8647, allocations: 35.73 kB / 1.038 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.8647, allocations: 12 kB / 1.038 GB, free: 14.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.8647, allocations: 4 kB / 1.038 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007261/0.8654, allocations: 316.5 kB / 1.039 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8655, allocations: 4 kB / 1.039 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.8658, allocations: 80.94 kB / 1.039 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.866, allocations: 55.91 kB / 1.039 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.8679, allocations: 1.522 MB / 1.04 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.8681, allocations: 35.72 kB / 1.04 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.8682, allocations: 8 kB / 1.04 GB, free: 12.17 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002746/0.8684, allocations: 253.1 kB / 1.04 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.8685, allocations: 19.72 kB / 1.04 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/0.8686, allocations: 34.17 kB / 1.041 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8686, allocations: 0 / 1.041 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.8686, allocations: 0 / 1.041 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.8686, allocations: 7.953 kB / 1.041 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.869, allocations: 369.4 kB / 1.041 GB, free: 11.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.8691, allocations: 3.938 kB / 1.041 GB, free: 11.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.8692, allocations: 31.97 kB / 1.041 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.8696, allocations: 109.6 kB / 1.041 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.8696, allocations: 4 kB / 1.041 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.8724, allocations: 2.834 MB / 1.044 GB, free: 8.188 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8724, allocations: 0 / 1.044 GB, free: 8.188 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007806/0.8732, allocations: 419.2 kB / 1.044 GB, free: 7.758 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.8733, allocations: 112.8 kB / 1.044 GB, free: 7.629 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.8734, allocations: 8 kB / 1.044 GB, free: 7.621 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.8735, allocations: 12 kB / 1.044 GB, free: 7.609 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.8736, allocations: 19.91 kB / 1.044 GB, free: 7.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.8736, allocations: 8 kB / 1.044 GB, free: 7.582 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001453/0.8738, allocations: 164.5 kB / 1.045 GB, free: 7.422 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8738, allocations: 0 / 1.045 GB, free: 7.422 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006682/0.8745, allocations: 167.3 kB / 1.045 GB, free: 7.258 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001194/0.8746, allocations: 103.2 kB / 1.045 GB, free: 7.145 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.8764, allocations: 0.7801 MB / 1.046 GB, free: 6.328 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8765, allocations: 0 / 1.046 GB, free: 6.328 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.8772, allocations: 373.5 kB / 1.046 GB, free: 5.938 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.8776, allocations: 46.67 kB / 1.046 GB, free: 5.887 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009937/0.8786, allocations: 0.6826 MB / 1.047 GB, free: 5.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.879, allocations: 0.8191 MB / 1.047 GB, free: 4.336 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.8792, allocations: 58.23 kB / 1.047 GB, free: 4.277 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.8792, allocations: 19.44 kB / 1.047 GB, free: 4.258 MB / 0.795 GB Notification: Performance of SimCode: time 3.306e-06/0.8792, allocations: 3.938 kB / 1.047 GB, free: 4.254 MB / 0.795 GB Notification: Performance of Templates: time 0.007885/0.8871, allocations: 4.081 MB / 1.051 GB, free: 204 kB / 0.795 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)