Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 288.3 MB / 303.2 MB, free: 8.27 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.001111/0.001111, allocations: 177 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.0008739/0.0008734, allocations: 106.3 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 11.25 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2457, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003882/0.2497, allocations: 3.281 MB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.2517, allocations: 1.642 MB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.2518, allocations: 15.94 kB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.252, allocations: 55.61 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.2524, allocations: 151.5 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.2529, allocations: 195.6 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.2532, allocations: 299.3 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.2536, allocations: 332.4 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.2537, allocations: 135.5 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.2539, allocations: 155.4 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.254, allocations: 16 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2542, allocations: 87.81 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.2542, allocations: 103.7 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.2543, allocations: 85.52 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.2546, allocations: 355.4 kB / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2546, allocations: 0 / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2546, allocations: 4 kB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2546, allocations: 0 / 0.9861 GB, free: 20.75 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.00101/0.2557, allocations: 0.6079 MB / 0.9867 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2557, allocations: 20.02 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005532/0.2563, allocations: 91.41 kB / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.2567, allocations: 290.4 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2567, allocations: 20.66 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.2567, allocations: 27.98 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.2574, allocations: 489.8 kB / 0.9876 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2575, allocations: 4 kB / 0.9876 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.2575, allocations: 12 kB / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.2576, allocations: 40.62 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.2582, allocations: 386.2 kB / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.2599, allocations: 2.052 MB / 0.99 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.2605, allocations: 224.8 kB / 0.9903 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2605, allocations: 3.938 kB / 0.9903 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2605, allocations: 38.55 kB / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.233e-06/0.2605, allocations: 0 / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000995/0.2615, allocations: 463.4 kB / 0.9907 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2616, allocations: 59.39 kB / 0.9908 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.2618, allocations: 258.6 kB / 0.991 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2618, allocations: 33.64 kB / 0.9911 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.2619, allocations: 207.7 kB / 0.9913 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.262, allocations: 67.09 kB / 0.9913 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.262, allocations: 12 kB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.2621, allocations: 330.8 kB / 0.9917 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.2623, allocations: 104.5 kB / 0.9918 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.2626, allocations: 214.7 kB / 0.992 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.2628, allocations: 131.9 kB / 0.9921 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2628, allocations: 0 / 0.9921 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000633/0.2635, allocations: 387.2 kB / 0.9925 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.2637, allocations: 1.308 MB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.2637, allocations: 11.92 kB / 0.9938 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.2639, allocations: 36.84 kB / 0.9938 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.2642, allocations: 75.83 kB / 0.9939 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008753/0.2651, allocations: 1.344 MB / 0.9952 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.2654, allocations: 63.69 kB / 0.9952 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2654, allocations: 12 kB / 0.9952 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.2654, allocations: 4 kB / 0.9953 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005132/0.2659, allocations: 301.2 kB / 0.9955 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2659, allocations: 4.438 kB / 0.9955 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.2659, allocations: 11.95 kB / 0.9956 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.2662, allocations: 75.89 kB / 0.9956 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2662, allocations: 7.984 kB / 0.9956 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2664, allocations: 39.83 kB / 0.9957 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.2664, allocations: 12 kB / 0.9957 GB, free: 10.26 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0001651/0.2666, allocations: 250.7 kB / 0.9959 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.2667, allocations: 23.72 kB / 0.9959 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.2667, allocations: 38.12 kB / 0.996 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2667, allocations: 0 / 0.996 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.2667, allocations: 0 / 0.996 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2667, allocations: 4 kB / 0.996 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.267, allocations: 349.4 kB / 0.9963 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2671, allocations: 0 / 0.9963 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.2672, allocations: 51.91 kB / 0.9964 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.499e-05/0.2673, allocations: 20.84 kB / 0.9964 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2674, allocations: 4 kB / 0.9964 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006219/0.268, allocations: 1.331 MB / 0.9977 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.268, allocations: 0 / 0.9977 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.2686, allocations: 381.4 kB / 0.9981 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.2687, allocations: 128.7 kB / 0.9982 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2687, allocations: 3.953 kB / 0.9982 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2689, allocations: 19.98 kB / 0.9982 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.2689, allocations: 19.97 kB / 0.9982 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.269, allocations: 4 kB / 0.9982 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001139/0.2691, allocations: 182 kB / 0.9984 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2691, allocations: 4 kB / 0.9984 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000471/0.2696, allocations: 143.5 kB / 0.9985 GB, free: 7.113 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 16 * 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 9.584e-05/0.2697, allocations: 99.25 kB / 0.9986 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009034/0.2706, allocations: 0.5249 MB / 0.9991 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2706, allocations: 0 / 0.9991 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.2709, allocations: 236.4 kB / 0.9994 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.2713, allocations: 58.16 kB / 0.9994 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.272, allocations: 0.6534 MB / 1 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2723, allocations: 0.8072 MB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.2725, allocations: 74.2 kB / 1.001 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.2726, allocations: 19.44 kB / 1.001 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2726, allocations: 0 / 1.001 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of Templates: time 0.005682/0.2783, allocations: 3.068 MB / 1.004 GB, free: 1.527 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)