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.372/1.372, allocations: 252 MB / 267.6 MB, free: 10.93 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.001067/0.001067, allocations: 179.6 kB / 327.3 MB, free: 2.191 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.705/1.705, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007411/0.000741, allocations: 93.8 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 11.66 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2117, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003122/0.2149, allocations: 3.359 MB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2167, allocations: 1.669 MB / 0.9057 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2168, allocations: 7.938 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.217, allocations: 51.56 kB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.2173, allocations: 195 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.2177, allocations: 195.6 kB / 0.9062 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000377/0.2181, allocations: 0.5647 MB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.2184, allocations: 340.3 kB / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.2186, allocations: 151.4 kB / 0.9072 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.2188, allocations: 223.2 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.2189, allocations: 20 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.219, allocations: 87.88 kB / 0.9075 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.2191, allocations: 111.7 kB / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.2192, allocations: 85.52 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.2194, allocations: 359.4 kB / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2195, allocations: 3.984 kB / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2195, allocations: 0 / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2195, allocations: 4 kB / 0.908 GB, free: 56.41 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.000789/0.2203, allocations: 0.5964 MB / 0.9086 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2203, allocations: 12.03 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004718/0.2208, allocations: 83.42 kB / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.2211, allocations: 298.3 kB / 0.909 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2211, allocations: 16.66 kB / 0.909 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.2212, allocations: 31.98 kB / 0.9091 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.2218, allocations: 493.8 kB / 0.9095 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2218, allocations: 0 / 0.9095 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.2219, allocations: 12 kB / 0.9095 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.2219, allocations: 36.64 kB / 0.9096 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/0.2226, allocations: 390.2 kB / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.2241, allocations: 2.056 MB / 0.9119 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.2246, allocations: 224.7 kB / 0.9122 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.2249, allocations: 164.7 kB / 0.9123 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.225, allocations: 4 kB / 0.9123 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.225, allocations: 42.55 kB / 0.9124 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.225, allocations: 4 kB / 0.9124 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009741/0.226, allocations: 451 kB / 0.9128 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.226, allocations: 59.36 kB / 0.9129 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2262, allocations: 266.6 kB / 0.9131 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2262, allocations: 25.7 kB / 0.9131 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.2263, allocations: 211.7 kB / 0.9133 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2263, allocations: 63.09 kB / 0.9134 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.2263, allocations: 4 kB / 0.9134 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.2264, allocations: 334.8 kB / 0.9137 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.2266, allocations: 104.5 kB / 0.9138 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2269, allocations: 207.6 kB / 0.914 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.2271, allocations: 134.6 kB / 0.9141 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2271, allocations: 3.984 kB / 0.9141 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006536/0.2278, allocations: 374 kB / 0.9145 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.2279, allocations: 194 kB / 0.9147 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2279, allocations: 7.938 kB / 0.9147 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.2281, allocations: 32.83 kB / 0.9147 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.2284, allocations: 83.84 kB / 0.9148 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.2292, allocations: 1.323 MB / 0.9161 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.2295, allocations: 55.64 kB / 0.9162 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.2295, allocations: 12 kB / 0.9162 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-06/0.2295, allocations: 4 kB / 0.9162 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000512/0.23, allocations: 301.9 kB / 0.9165 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.23, allocations: 4 kB / 0.9165 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/0.23, allocations: 4 kB / 0.9165 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.2303, allocations: 84.02 kB / 0.9165 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2303, allocations: 8 kB / 0.9166 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.2305, allocations: 51.61 kB / 0.9166 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2305, allocations: 12 kB / 0.9166 GB, free: 46.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.2307, allocations: 241 kB / 0.9168 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2307, allocations: 23.72 kB / 0.9169 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.2308, allocations: 38.17 kB / 0.9169 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2308, allocations: 0 / 0.9169 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2308, allocations: 0 / 0.9169 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2308, allocations: 11.89 kB / 0.9169 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009031/0.2317, allocations: 0.7616 MB / 0.9177 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2317, allocations: 4 kB / 0.9177 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.2319, allocations: 51.92 kB / 0.9177 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.565e-05/0.232, allocations: 24.84 kB / 0.9177 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.232, allocations: 8 kB / 0.9177 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005834/0.2326, allocations: 1.311 MB / 0.919 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2326, allocations: 0 / 0.919 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.2332, allocations: 391.8 kB / 0.9194 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.2332, allocations: 120.7 kB / 0.9195 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.2333, allocations: 4 kB / 0.9195 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2335, allocations: 27.91 kB / 0.9195 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.2335, allocations: 15.98 kB / 0.9196 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2335, allocations: 8 kB / 0.9196 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001155/0.2337, allocations: 182 kB / 0.9197 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2337, allocations: 0 / 0.9197 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004607/0.2341, allocations: 147.5 kB / 0.9199 GB, free: 43.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 8.877e-05/0.2342, allocations: 99.19 kB / 0.92 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008685/0.2351, allocations: 0.5089 MB / 0.9205 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2351, allocations: 0 / 0.9205 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.2354, allocations: 231.3 kB / 0.9207 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.2359, allocations: 67.28 kB / 0.9208 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.2366, allocations: 0.7038 MB / 0.9214 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.2368, allocations: 0.8035 MB / 0.9222 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.2368, allocations: 23.44 kB / 0.9223 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2368, allocations: 0 / 0.9223 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.005078/0.2419, allocations: 4.756 MB / 0.9269 GB, free: 36.09 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)