Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.625/2.625, allocations: 287.5 MB / 302.4 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001373, allocations: 180.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009346/0.0009342, allocations: 99.25 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.00051, allocations: 15.25 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2297, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005378/0.2352, allocations: 3.359 MB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003558/0.2388, allocations: 1.669 MB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.2391, allocations: 7.938 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.2394, allocations: 55.56 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007034/0.2401, allocations: 187.1 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.241, allocations: 205.9 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.2417, allocations: 0.5608 MB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/0.2422, allocations: 340.3 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.2425, allocations: 151.4 kB / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.2429, allocations: 219.2 kB / 0.9849 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.243, allocations: 16 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.2433, allocations: 83.89 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2434, allocations: 119.7 kB / 0.9851 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.936e-05/0.2435, allocations: 85.52 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.244, allocations: 355.4 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.741e-05/0.2441, allocations: 0 / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2441, allocations: 0 / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.2441, allocations: 0 / 0.9855 GB, free: 20.93 MB / 0.6198 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.001282/0.2454, allocations: 0.6157 MB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2454, allocations: 16 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.2462, allocations: 91.44 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.2466, allocations: 286.2 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.2467, allocations: 20.66 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.629e-05/0.2467, allocations: 35.98 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2478, allocations: 493.8 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2479, allocations: 0 / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.2479, allocations: 12 kB / 0.9871 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.376e-05/0.248, allocations: 40.62 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.2492, allocations: 386.2 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.2524, allocations: 2.052 MB / 0.9895 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.2537, allocations: 222.7 kB / 0.9897 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/0.2546, allocations: 168.8 kB / 0.9898 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.2547, allocations: 4 kB / 0.9898 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.2547, allocations: 30.56 kB / 0.9899 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 5.32e-06/0.2548, allocations: 0 / 0.9899 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.002818/0.2576, allocations: 459.6 kB / 0.9903 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2577, allocations: 59.34 kB / 0.9904 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.2583, allocations: 262.7 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.2584, allocations: 25.7 kB / 0.9906 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.2586, allocations: 219.6 kB / 0.9909 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2587, allocations: 63.05 kB / 0.9909 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.2588, allocations: 4 kB / 0.9909 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2589, allocations: 338.8 kB / 0.9912 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.2597, allocations: 100.5 kB / 0.9913 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.2603, allocations: 218 kB / 0.9915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.261, allocations: 128 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.2611, allocations: 0 / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002009/0.2631, allocations: 378 kB / 0.992 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.2633, allocations: 196.2 kB / 0.9922 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.2633, allocations: 4 kB / 0.9922 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.2637, allocations: 36.77 kB / 0.9923 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/0.2646, allocations: 75.89 kB / 0.9923 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.2665, allocations: 1.331 MB / 0.9936 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.2672, allocations: 47.67 kB / 0.9937 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.2673, allocations: 12 kB / 0.9937 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2673, allocations: 4 kB / 0.9937 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/0.269, allocations: 303.6 kB / 0.994 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.2691, allocations: 4 kB / 0.994 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2691, allocations: 7.984 kB / 0.994 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/0.2699, allocations: 75.91 kB / 0.9941 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.27, allocations: 7.984 kB / 0.9941 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.2706, allocations: 47.97 kB / 0.9941 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.2706, allocations: 12 kB / 0.9941 GB, free: 11.48 MB / 0.6198 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.0003391/0.271, allocations: 245 kB / 0.9944 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2711, allocations: 23.72 kB / 0.9944 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.2713, allocations: 38.11 kB / 0.9944 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2713, allocations: 0 / 0.9944 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2713, allocations: 4 kB / 0.9944 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2713, allocations: 7.891 kB / 0.9944 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.274, allocations: 0.7625 MB / 0.9952 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.274, allocations: 0 / 0.9952 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.2746, allocations: 59.92 kB / 0.9952 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.2749, allocations: 20.84 kB / 0.9952 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.2749, allocations: 4 kB / 0.9953 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.2765, allocations: 1.315 MB / 0.9965 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2766, allocations: 7.922 kB / 0.9965 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009543/0.2775, allocations: 385.8 kB / 0.9969 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.2777, allocations: 124.7 kB / 0.997 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.2777, allocations: 4 kB / 0.997 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.278, allocations: 19.98 kB / 0.9971 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.2781, allocations: 19.88 kB / 0.9971 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.2782, allocations: 12 kB / 0.9971 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001999/0.2784, allocations: 178 kB / 0.9973 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2784, allocations: 0 / 0.9973 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007367/0.2791, allocations: 143.5 kB / 0.9974 GB, free: 7.875 MB / 0.6198 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 0.0001285/0.2793, allocations: 103.2 kB / 0.9975 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.2808, allocations: 0.5079 MB / 0.998 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2809, allocations: 0 / 0.998 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.2814, allocations: 230.8 kB / 0.9982 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.2821, allocations: 78.25 kB / 0.9983 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2832, allocations: 0.6628 MB / 0.9989 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.2835, allocations: 0.7996 MB / 0.9997 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.2839, allocations: 78.2 kB / 0.9998 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.284, allocations: 23.44 kB / 0.9998 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.284, allocations: 0 / 0.9998 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of Templates: time 0.009304/0.2933, allocations: 3.118 MB / 1.003 GB, free: 2.223 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)