Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 176.2 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006857/0.0006856, allocations: 94.3 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005286, allocations: 9 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2239, allocations: 106.3 MB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003278/0.2272, allocations: 3.513 MB / 0.9049 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.2293, allocations: 1.746 MB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2294, allocations: 7.938 kB / 0.9066 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.2296, allocations: 55.56 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.2301, allocations: 239 kB / 0.9069 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.2305, allocations: 233.2 kB / 0.9071 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.231, allocations: 0.6974 MB / 0.9078 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.2313, allocations: 361.5 kB / 0.9081 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2315, allocations: 155.3 kB / 0.9083 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.2318, allocations: 227.1 kB / 0.9085 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.2318, allocations: 16 kB / 0.9085 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.2321, allocations: 235.5 kB / 0.9087 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.2322, allocations: 111.7 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.2323, allocations: 184.8 kB / 0.909 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.2326, allocations: 375.3 kB / 0.9094 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2326, allocations: 4 kB / 0.9094 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2327, allocations: 0 / 0.9094 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2327, allocations: 0 / 0.9094 GB, free: 55.14 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008306/0.2335, allocations: 0.6043 MB / 0.91 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2335, allocations: 8.031 kB / 0.91 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.234, allocations: 84.41 kB / 0.91 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.2343, allocations: 291.4 kB / 0.9103 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2343, allocations: 29.03 kB / 0.9104 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.2344, allocations: 24.38 kB / 0.9104 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.235, allocations: 0.4941 MB / 0.9109 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2351, allocations: 0 / 0.9109 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.2351, allocations: 12 kB / 0.9109 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.2351, allocations: 40.62 kB / 0.9109 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.2358, allocations: 390.2 kB / 0.9113 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.2373, allocations: 2.048 MB / 0.9133 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.2378, allocations: 230.6 kB / 0.9135 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.2382, allocations: 168.8 kB / 0.9137 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2382, allocations: 4 kB / 0.9137 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.2382, allocations: 30.56 kB / 0.9137 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.2382, allocations: 3.938 kB / 0.9137 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009501/0.2392, allocations: 465.6 kB / 0.9141 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.2392, allocations: 55.41 kB / 0.9142 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2394, allocations: 254.7 kB / 0.9144 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2394, allocations: 33.7 kB / 0.9145 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.2395, allocations: 207.6 kB / 0.9147 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2395, allocations: 67.09 kB / 0.9147 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.2396, allocations: 7.938 kB / 0.9147 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.2396, allocations: 338.8 kB / 0.9151 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2398, allocations: 104.5 kB / 0.9152 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.2401, allocations: 215.6 kB / 0.9154 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.2406, allocations: 325.5 kB / 0.9157 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2406, allocations: 0 / 0.9157 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006418/0.2412, allocations: 388.1 kB / 0.916 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.2413, allocations: 198 kB / 0.9162 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2413, allocations: 7.984 kB / 0.9162 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.2415, allocations: 28.84 kB / 0.9163 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.2418, allocations: 75.89 kB / 0.9163 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008238/0.2426, allocations: 1.331 MB / 0.9176 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.2428, allocations: 43.67 kB / 0.9177 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2429, allocations: 15.98 kB / 0.9177 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-06/0.2429, allocations: 4.094 kB / 0.9177 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005195/0.2434, allocations: 301.4 kB / 0.918 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2434, allocations: 4 kB / 0.918 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/0.2434, allocations: 8 kB / 0.918 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.2437, allocations: 83.95 kB / 0.9181 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2437, allocations: 4 kB / 0.9181 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2439, allocations: 39.77 kB / 0.9181 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2439, allocations: 20 kB / 0.9181 GB, free: 45.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.2441, allocations: 245 kB / 0.9184 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.2441, allocations: 23.72 kB / 0.9184 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.2442, allocations: 38.11 kB / 0.9184 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.2442, allocations: 0 / 0.9184 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2442, allocations: 4 kB / 0.9184 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2442, allocations: 3.984 kB / 0.9184 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.2451, allocations: 0.7771 MB / 0.9192 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2452, allocations: 3.938 kB / 0.9192 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.2454, allocations: 39.97 kB / 0.9192 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-05/0.2455, allocations: 36.77 kB / 0.9193 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2455, allocations: 0 / 0.9193 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006335/0.2461, allocations: 1.319 MB / 0.9206 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2462, allocations: 8.031 kB / 0.9206 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.2467, allocations: 379.4 kB / 0.9209 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.2468, allocations: 128.6 kB / 0.9211 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.2469, allocations: 7.938 kB / 0.9211 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.247, allocations: 19.98 kB / 0.9211 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.2471, allocations: 23.91 kB / 0.9211 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.2471, allocations: 4 kB / 0.9211 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001414/0.2473, allocations: 186 kB / 0.9213 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2473, allocations: 0 / 0.9213 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005461/0.2478, allocations: 143.5 kB / 0.9214 GB, free: 41.81 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.248, allocations: 103.2 kB / 0.9215 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009573/0.2489, allocations: 0.5005 MB / 0.922 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.249, allocations: 4 kB / 0.922 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.2493, allocations: 241.3 kB / 0.9223 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.2498, allocations: 61.27 kB / 0.9223 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.2506, allocations: 0.7387 MB / 0.923 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.2508, allocations: 0.7918 MB / 0.9238 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.2509, allocations: 27.44 kB / 0.9238 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2509, allocations: 4 kB / 0.9238 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.005237/0.2562, allocations: 4.733 MB / 0.9285 GB, free: 34.54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)