Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001509, allocations: 193.4 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 97.77 kB / 0.748 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 55.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3171, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006117/0.3232, allocations: 4.108 MB / 0.9862 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.3262, allocations: 1.594 MB / 0.9878 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.3264, allocations: 11.88 kB / 0.9878 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.3279, allocations: 0.549 MB / 0.9883 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.3285, allocations: 219.1 kB / 0.9885 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.3292, allocations: 199.6 kB / 0.9887 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.3299, allocations: 0.7754 MB / 0.9895 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004835/0.3304, allocations: 313.9 kB / 0.9898 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.3307, allocations: 195.3 kB / 0.99 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.3311, allocations: 267.1 kB / 0.9902 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.3312, allocations: 24 kB / 0.9903 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.3316, allocations: 199.6 kB / 0.9904 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3317, allocations: 143.6 kB / 0.9906 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.3319, allocations: 183.1 kB / 0.9908 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.3325, allocations: 0.522 MB / 0.9913 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3325, allocations: 3.938 kB / 0.9913 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.3325, allocations: 0 / 0.9913 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3325, allocations: 4 kB / 0.9913 GB, free: 1.098 MB / 0.7136 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.00134/0.3339, allocations: 0.6749 MB / 0.9919 GB, free: 384 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3339, allocations: 12.03 kB / 0.9919 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.3347, allocations: 108.4 kB / 0.992 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.3352, allocations: 299.7 kB / 0.9923 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.3353, allocations: 55.27 kB / 0.9924 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.3353, allocations: 32.38 kB / 0.9924 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008565/0.3362, allocations: 0.5087 MB / 0.9929 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3362, allocations: 0 / 0.9929 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.3363, allocations: 16 kB / 0.9929 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/0.3363, allocations: 32.98 kB / 0.993 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.337, allocations: 375.7 kB / 0.9933 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.3396, allocations: 2.215 MB / 0.9955 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.3404, allocations: 262.7 kB / 0.9957 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.3408, allocations: 160.7 kB / 0.9959 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.3408, allocations: 4 kB / 0.9959 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3408, allocations: 38.5 kB / 0.9959 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 2.324e-06/0.3409, allocations: 3.938 kB / 0.9959 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.001547/0.3424, allocations: 0.5733 MB / 0.9965 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3425, allocations: 51.41 kB / 0.9965 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3427, allocations: 228.9 kB / 0.9968 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3427, allocations: 33.7 kB / 0.9968 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3429, allocations: 203.7 kB / 0.997 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.343, allocations: 67.03 kB / 0.997 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3431, allocations: 57.61 kB / 0.9971 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3432, allocations: 330.8 kB / 0.9974 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.3435, allocations: 100.8 kB / 0.9975 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.3437, allocations: 183 kB / 0.9977 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.3442, allocations: 271.2 kB / 0.9979 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3442, allocations: 0 / 0.9979 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008671/0.3451, allocations: 386.5 kB / 0.9983 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3451, allocations: 8.312 kB / 0.9983 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3452, allocations: 8 kB / 0.9983 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.3457, allocations: 101.6 kB / 0.9984 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.3459, allocations: 51.91 kB / 0.9985 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.3491, allocations: 2.826 MB / 1.001 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.3494, allocations: 35.67 kB / 1.001 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3494, allocations: 15.94 kB / 1.001 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003316/0.3498, allocations: 220 kB / 1.001 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003016/0.3501, allocations: 179.5 kB / 1.002 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004527/0.3506, allocations: 274.9 kB / 1.002 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.3506, allocations: 4 kB / 1.002 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007744/0.3514, allocations: 348.2 kB / 1.002 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3514, allocations: 12 kB / 1.002 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3514, allocations: 8 kB / 1.002 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.3517, allocations: 76.78 kB / 1.002 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.352, allocations: 55.91 kB / 1.002 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.3539, allocations: 1.491 MB / 1.004 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.3542, allocations: 35.8 kB / 1.004 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.3542, allocations: 12 kB / 1.004 GB, free: 3.109 MB / 0.7292 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.0001442/0.3543, allocations: 196.1 kB / 1.004 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3544, allocations: 19.81 kB / 1.004 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.3545, allocations: 38.05 kB / 1.004 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3545, allocations: 4 kB / 1.004 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3545, allocations: 0 / 1.004 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3545, allocations: 0 / 1.004 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.3559, allocations: 0.821 MB / 1.005 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3559, allocations: 4.062 kB / 1.005 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3561, allocations: 39.91 kB / 1.005 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/0.3564, allocations: 97.62 kB / 1.005 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3565, allocations: 8 kB / 1.005 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/0.3594, allocations: 2.81 MB / 1.008 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3594, allocations: 4.031 kB / 1.008 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.3608, allocations: 1.092 MB / 1.009 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3609, allocations: 108.9 kB / 1.009 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.361, allocations: 4 kB / 1.009 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3611, allocations: 11.98 kB / 1.009 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.3612, allocations: 23.84 kB / 1.009 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.3613, allocations: 12 kB / 1.009 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000156/0.3614, allocations: 160.5 kB / 1.009 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3614, allocations: 8 kB / 1.009 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008952/0.3623, allocations: 171.3 kB / 1.009 GB, free: 13.05 MB / 0.7448 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.0001244/0.3625, allocations: 99.19 kB / 1.009 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.3644, allocations: 0.7543 MB / 1.01 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3644, allocations: 0 / 1.01 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.3652, allocations: 371.8 kB / 1.011 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.3656, allocations: 56.58 kB / 1.011 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3668, allocations: 0.8937 MB / 1.012 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.3673, allocations: 0.8224 MB / 1.012 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002006/0.3675, allocations: 54.23 kB / 1.012 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.3675, allocations: 19.44 kB / 1.012 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.3675, allocations: 0 / 1.012 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of Templates: time 0.008132/0.3757, allocations: 4.449 MB / 1.017 GB, free: 5.426 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)