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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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="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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 98.44 kB / 16.26 MB, free: 6.418 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.001089/0.001089, allocations: 189.2 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.3 MB / 0.5495 GB, free: 17.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.89 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2209, allocations: 114.5 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.3903/0.6112, allocations: 4.051 MB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.6139, allocations: 1.593 MB / 0.7895 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.6141, allocations: 7.5 kB / 0.7895 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.6153, allocations: 0.5854 MB / 0.7901 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.6158, allocations: 229.8 kB / 0.7903 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.6163, allocations: 220.5 kB / 0.7905 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.6167, allocations: 0.5438 MB / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.6172, allocations: 472.7 kB / 0.7915 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.6174, allocations: 225.5 kB / 0.7917 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.6178, allocations: 252.6 kB / 0.792 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.6178, allocations: 34 kB / 0.792 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.6181, allocations: 167.5 kB / 0.7922 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.6182, allocations: 155.8 kB / 0.7923 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.6184, allocations: 193.2 kB / 0.7925 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.6188, allocations: 0.5185 MB / 0.793 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6188, allocations: 0.5938 kB / 0.793 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6188, allocations: 2.812 kB / 0.793 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.6188, allocations: 1.969 kB / 0.793 GB, free: 46.36 MB / 0.6544 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.001005/0.6199, allocations: 0.681 MB / 0.7937 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6199, allocations: 10.38 kB / 0.7937 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000673/0.6206, allocations: 105.1 kB / 0.7938 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.6209, allocations: 298.5 kB / 0.7941 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.621, allocations: 55.95 kB / 0.7941 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.621, allocations: 32.69 kB / 0.7942 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.6217, allocations: 0.5113 MB / 0.7947 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.6217, allocations: 0.8906 kB / 0.7947 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.6218, allocations: 11.12 kB / 0.7947 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.6218, allocations: 35.78 kB / 0.7947 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.6224, allocations: 381.3 kB / 0.7951 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.6241, allocations: 2.205 MB / 0.7972 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.6247, allocations: 265.2 kB / 0.7975 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.6251, allocations: 149.9 kB / 0.7976 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.6251, allocations: 7.406 kB / 0.7976 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.6251, allocations: 40.34 kB / 0.7977 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.6251, allocations: 0 / 0.7977 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.00135/0.6265, allocations: 0.5646 MB / 0.7982 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.6265, allocations: 56.55 kB / 0.7983 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.6267, allocations: 227.4 kB / 0.7985 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.6268, allocations: 29.7 kB / 0.7985 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.6268, allocations: 205.9 kB / 0.7987 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.6269, allocations: 71.5 kB / 0.7988 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.627, allocations: 55.88 kB / 0.7988 GB, free: 43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.627, allocations: 331.4 kB / 0.7992 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.6272, allocations: 96.73 kB / 0.7992 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.6274, allocations: 183.8 kB / 0.7994 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.6278, allocations: 273.2 kB / 0.7997 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6279, allocations: 4 kB / 0.7997 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007554/0.6286, allocations: 381.9 kB / 0.8 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6286, allocations: 5.188 kB / 0.8001 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6287, allocations: 4.5 kB / 0.8001 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.6291, allocations: 108.9 kB / 0.8002 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.6293, allocations: 47.5 kB / 0.8002 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.6319, allocations: 3.052 MB / 0.8032 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.6322, allocations: 33.83 kB / 0.8032 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.6322, allocations: 8.125 kB / 0.8032 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002988/0.6325, allocations: 224.3 kB / 0.8034 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000247/0.6328, allocations: 182.1 kB / 0.8036 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003938/0.6332, allocations: 270.5 kB / 0.8039 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.6332, allocations: 4 kB / 0.8039 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007395/0.634, allocations: 346.7 kB / 0.8042 GB, free: 38.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.634, allocations: 16.19 kB / 0.8042 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.634, allocations: 1.031 kB / 0.8042 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.6343, allocations: 80.14 kB / 0.8043 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.6345, allocations: 59.12 kB / 0.8044 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.6363, allocations: 1.612 MB / 0.8059 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.6366, allocations: 25.45 kB / 0.806 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.6367, allocations: 16.59 kB / 0.806 GB, free: 37.22 MB / 0.6544 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.6368, allocations: 199.1 kB / 0.8062 GB, free: 37.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.6369, allocations: 30.48 kB / 0.8062 GB, free: 37.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.6369, allocations: 29.75 kB / 0.8062 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6369, allocations: 2.25 kB / 0.8062 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6369, allocations: 4.328 kB / 0.8062 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.637, allocations: 5.797 kB / 0.8062 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.6388, allocations: 0.8195 MB / 0.807 GB, free: 36.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.6388, allocations: 3.484 kB / 0.807 GB, free: 36.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.6391, allocations: 34.66 kB / 0.8071 GB, free: 36.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005787/0.6397, allocations: 105.6 kB / 0.8072 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.6397, allocations: 5.562 kB / 0.8072 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003234/0.6429, allocations: 3.025 MB / 0.8101 GB, free: 33.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.643, allocations: 3.156 kB / 0.8101 GB, free: 33.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.6442, allocations: 417.1 kB / 0.8105 GB, free: 33.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.6444, allocations: 122 kB / 0.8106 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.6444, allocations: 7.062 kB / 0.8107 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.6447, allocations: 11.83 kB / 0.8107 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.6448, allocations: 19.16 kB / 0.8107 GB, free: 33.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.6449, allocations: 5.469 kB / 0.8107 GB, free: 33.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003045/0.6452, allocations: 167.7 kB / 0.8108 GB, free: 33.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6452, allocations: 0 / 0.8108 GB, free: 33.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001323/0.6465, allocations: 164.6 kB / 0.811 GB, free: 33.01 MB / 0.6544 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.0001817/0.6467, allocations: 109 kB / 0.8111 GB, free: 32.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.6496, allocations: 0.7742 MB / 0.8119 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6496, allocations: 4.375 kB / 0.8119 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.6508, allocations: 375.6 kB / 0.8122 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.6516, allocations: 57.44 kB / 0.8123 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.6532, allocations: 0.6256 MB / 0.8129 GB, free: 31.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.6536, allocations: 0.8105 MB / 0.8137 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.6537, allocations: 20.66 kB / 0.8137 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.6537, allocations: 0.5938 kB / 0.8137 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.01504/0.6688, allocations: 6.172 MB / 0.8197 GB, free: 30.71 MB / 0.6544 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)