Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.4/2.4, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 187.3 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.531/2.531, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009598/0.0009594, allocations: 86.38 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006921/0.0006923, allocations: 10.59 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2156, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005389/0.2211, allocations: 3.584 MB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003082/0.2242, allocations: 1.501 MB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.2245, allocations: 4 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.2248, allocations: 63.5 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005957/0.2254, allocations: 195 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.2261, allocations: 161.4 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.2269, allocations: 0.6231 MB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005541/0.2275, allocations: 405.7 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.2277, allocations: 183.3 kB / 0.9056 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.2283, allocations: 235.2 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.2284, allocations: 24 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.2287, allocations: 71.89 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.2288, allocations: 131.6 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.229, allocations: 93.52 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.2295, allocations: 395.3 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2295, allocations: 0 / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2295, allocations: 0 / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.2295, allocations: 0 / 0.9065 GB, free: 57.73 MB / 0.6042 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.001409/0.2309, allocations: 0.628 MB / 0.9071 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.231, allocations: 8.031 kB / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/0.232, allocations: 116.4 kB / 0.9072 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.2325, allocations: 291.8 kB / 0.9075 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.2326, allocations: 51.27 kB / 0.9075 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.2327, allocations: 36.31 kB / 0.9076 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2339, allocations: 0.5087 MB / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.2339, allocations: 0 / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.234, allocations: 12 kB / 0.9081 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-05/0.2341, allocations: 36.97 kB / 0.9081 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2352, allocations: 383.7 kB / 0.9085 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.2384, allocations: 2.227 MB / 0.9107 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.2395, allocations: 254.6 kB / 0.9109 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.24, allocations: 160.8 kB / 0.9111 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.2401, allocations: 7.922 kB / 0.9111 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2401, allocations: 38.56 kB / 0.9111 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 2.865e-06/0.2402, allocations: 4 kB / 0.9111 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.002926/0.2431, allocations: 0.5818 MB / 0.9117 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2432, allocations: 51.41 kB / 0.9117 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.2436, allocations: 233 kB / 0.9119 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.2437, allocations: 29.7 kB / 0.912 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2439, allocations: 211.6 kB / 0.9122 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.492e-05/0.244, allocations: 63.09 kB / 0.9122 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.244, allocations: 4 kB / 0.9122 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2442, allocations: 334.8 kB / 0.9126 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.2447, allocations: 87.94 kB / 0.9126 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.2452, allocations: 187 kB / 0.9128 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.2458, allocations: 124 kB / 0.9129 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2458, allocations: 3.938 kB / 0.9129 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001956/0.2478, allocations: 381.8 kB / 0.9133 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.248, allocations: 157.7 kB / 0.9135 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.248, allocations: 7.938 kB / 0.9135 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.2491, allocations: 117.6 kB / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.2496, allocations: 51.91 kB / 0.9136 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.2551, allocations: 2.83 MB / 0.9164 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.2557, allocations: 35.73 kB / 0.9164 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.2558, allocations: 11.94 kB / 0.9164 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2558, allocations: 4 kB / 0.9164 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001668/0.2575, allocations: 308.4 kB / 0.9167 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2576, allocations: 4 kB / 0.9167 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/0.2582, allocations: 85.06 kB / 0.9168 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.2588, allocations: 59.97 kB / 0.9169 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.2627, allocations: 1.495 MB / 0.9183 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.2634, allocations: 31.83 kB / 0.9184 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.2634, allocations: 16.06 kB / 0.9184 GB, free: 44.57 MB / 0.6042 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 (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.0003932/0.2638, allocations: 237.1 kB / 0.9186 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.264, allocations: 27.66 kB / 0.9186 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.2641, allocations: 34.17 kB / 0.9187 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.2641, allocations: 7.938 kB / 0.9187 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2642, allocations: 0 / 0.9187 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2642, allocations: 0 / 0.9187 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.2667, allocations: 0.8466 MB / 0.9195 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.2668, allocations: 0 / 0.9195 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.2671, allocations: 39.97 kB / 0.9195 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008844/0.268, allocations: 105.8 kB / 0.9196 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.2681, allocations: 4 kB / 0.9196 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005193/0.2733, allocations: 2.799 MB / 0.9224 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2734, allocations: 4.031 kB / 0.9224 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.2751, allocations: 429.2 kB / 0.9228 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.2754, allocations: 116.7 kB / 0.9229 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.2755, allocations: 4 kB / 0.9229 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.2759, allocations: 15.98 kB / 0.9229 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.2761, allocations: 23.91 kB / 0.9229 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.2761, allocations: 16 kB / 0.923 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002659/0.2764, allocations: 164.4 kB / 0.9231 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.763e-06/0.2764, allocations: 3.938 kB / 0.9231 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001346/0.2778, allocations: 171.3 kB / 0.9233 GB, free: 39.15 MB / 0.6042 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 (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.0001886/0.278, allocations: 99.03 kB / 0.9234 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004002/0.282, allocations: 0.7699 MB / 0.9241 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.2821, allocations: 0 / 0.9241 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.2838, allocations: 365.8 kB / 0.9245 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/0.2845, allocations: 50.67 kB / 0.9245 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2859, allocations: 0.7106 MB / 0.9252 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.2862, allocations: 0.8107 MB / 0.926 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.2866, allocations: 50.25 kB / 0.9261 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.2867, allocations: 19.44 kB / 0.9261 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of SimCode: time 9.91e-07/0.2867, allocations: 0 / 0.9261 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.01126/0.298, allocations: 4.152 MB / 0.9301 GB, free: 32.04 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)