Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001311/0.001311, allocations: 113.2 kB / 16.41 MB, free: 6.5 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.001296/0.001296, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002268/0.002267, allocations: 284.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9427/0.9427, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 91.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.626, allocations: 86.98 MB / 0.767 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006656/0.6327, allocations: 4.088 MB / 0.771 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003439/0.6362, allocations: 1.593 MB / 0.7726 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.6367, allocations: 11.94 kB / 0.7726 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.6388, allocations: 0.576 MB / 0.7732 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008422/0.6397, allocations: 238.8 kB / 0.7734 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000759/0.6404, allocations: 230.6 kB / 0.7736 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.6416, allocations: 0.5413 MB / 0.7741 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009836/0.6426, allocations: 473.8 kB / 0.7746 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005964/0.6432, allocations: 223.3 kB / 0.7748 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008488/0.6441, allocations: 259 kB / 0.775 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.6442, allocations: 36 kB / 0.7751 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.6448, allocations: 167.7 kB / 0.7752 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.645, allocations: 143.7 kB / 0.7754 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.6455, allocations: 203 kB / 0.7756 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009557/0.6464, allocations: 0.5242 MB / 0.7761 GB, free: 10.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6465, allocations: 4 kB / 0.7761 GB, free: 10.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6465, allocations: 0 / 0.7761 GB, free: 10.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.623e-05/0.6465, allocations: 0 / 0.7761 GB, free: 10.79 MB / 0.545 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.001917/0.6484, allocations: 0.6787 MB / 0.7767 GB, free: 10.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.6485, allocations: 12.03 kB / 0.7768 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009215/0.6494, allocations: 108.4 kB / 0.7769 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.65, allocations: 291.7 kB / 0.7771 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.6501, allocations: 59.25 kB / 0.7772 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/0.6502, allocations: 32.38 kB / 0.7772 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.6513, allocations: 0.5087 MB / 0.7777 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.6514, allocations: 0 / 0.7777 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.6514, allocations: 19.98 kB / 0.7777 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.906e-05/0.6515, allocations: 28.98 kB / 0.7778 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009704/0.6525, allocations: 379.6 kB / 0.7781 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.656, allocations: 2.2 MB / 0.7803 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.6568, allocations: 258.6 kB / 0.7805 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.6573, allocations: 151.5 kB / 0.7807 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.6573, allocations: 3.938 kB / 0.7807 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.6574, allocations: 38.56 kB / 0.7807 GB, free: 5.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.6574, allocations: 0 / 0.7807 GB, free: 5.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001867/0.6593, allocations: 0.575 MB / 0.7813 GB, free: 5.059 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.6593, allocations: 59.34 kB / 0.7813 GB, free: 4.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.6597, allocations: 225 kB / 0.7815 GB, free: 4.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.6597, allocations: 29.7 kB / 0.7816 GB, free: 4.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.6599, allocations: 215.6 kB / 0.7818 GB, free: 4.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.66, allocations: 59.11 kB / 0.7818 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.6601, allocations: 53.61 kB / 0.7819 GB, free: 4.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6603, allocations: 338.8 kB / 0.7822 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.6606, allocations: 96.8 kB / 0.7823 GB, free: 3.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.6609, allocations: 184.8 kB / 0.7825 GB, free: 3.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.6615, allocations: 275.2 kB / 0.7827 GB, free: 3.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.6615, allocations: 3.984 kB / 0.7827 GB, free: 3.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001011/0.6625, allocations: 374.7 kB / 0.7831 GB, free: 3.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.6626, allocations: 8 kB / 0.7831 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6626, allocations: 0 / 0.7831 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.6632, allocations: 113.9 kB / 0.7832 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.6634, allocations: 55.91 kB / 0.7833 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.6671, allocations: 3.039 MB / 0.7862 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.6674, allocations: 31.73 kB / 0.7863 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.6674, allocations: 12 kB / 0.7863 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003431/0.6677, allocations: 220 kB / 0.7865 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002732/0.668, allocations: 175.7 kB / 0.7867 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004731/0.6685, allocations: 275.2 kB / 0.7869 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.6685, allocations: 0 / 0.7869 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008213/0.6693, allocations: 352 kB / 0.7873 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6694, allocations: 14.75 kB / 0.7873 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.6694, allocations: 0 / 0.7873 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.6697, allocations: 88.89 kB / 0.7874 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.6699, allocations: 51.91 kB / 0.7874 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.6719, allocations: 1.614 MB / 0.789 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.6722, allocations: 31.83 kB / 0.789 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.6722, allocations: 15.94 kB / 0.789 GB, free: 12.47 MB / 0.5606 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.000137/0.6724, allocations: 192.2 kB / 0.7892 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.6724, allocations: 31.8 kB / 0.7892 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.6725, allocations: 26.19 kB / 0.7893 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6725, allocations: 4 kB / 0.7893 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6725, allocations: 0 / 0.7893 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6725, allocations: 7.922 kB / 0.7893 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.6739, allocations: 0.8251 MB / 0.7901 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6739, allocations: 0 / 0.7901 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.6741, allocations: 35.91 kB / 0.7901 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/0.6744, allocations: 97.69 kB / 0.7902 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.6745, allocations: 8 kB / 0.7902 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.6774, allocations: 3.015 MB / 0.7932 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6774, allocations: 4.031 kB / 0.7932 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/0.6782, allocations: 415 kB / 0.7936 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.6783, allocations: 116.8 kB / 0.7937 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.6783, allocations: 4 kB / 0.7937 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.6785, allocations: 23.98 kB / 0.7937 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.6786, allocations: 19.97 kB / 0.7937 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.6786, allocations: 4 kB / 0.7937 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001501/0.6788, allocations: 160.5 kB / 0.7939 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6788, allocations: 0 / 0.7939 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006432/0.6794, allocations: 171.3 kB / 0.794 GB, free: 6.918 MB / 0.5606 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.0001437/0.6796, allocations: 115.2 kB / 0.7941 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.6815, allocations: 0.7484 MB / 0.7949 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6815, allocations: 0.9375 kB / 0.7949 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007775/0.6823, allocations: 373.4 kB / 0.7952 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.6828, allocations: 63.3 kB / 0.7953 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.6839, allocations: 0.6343 MB / 0.7959 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.6844, allocations: 0.8183 MB / 0.7967 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.6845, allocations: 23.44 kB / 0.7967 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of SimCode: time 1.91e-07/0.6845, allocations: 0 / 0.7967 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of Templates: time 0.009634/0.6941, allocations: 6.186 MB / 0.8028 GB, free: 13.85 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)