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.876/1.876, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.00103/0.00103, allocations: 176.5 kB / 372 MB, free: 10.25 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.687/1.687, allocations: 205.4 MB / 0.6307 GB, free: 9.941 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.0009607/0.0009607, allocations: 86.36 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003922, allocations: 11.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006251/0.2444, allocations: 3.351 MB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003956/0.2484, allocations: 1.669 MB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005269/0.249, allocations: 11.94 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.2495, allocations: 55.56 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.2508, allocations: 183.1 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.252, allocations: 205.5 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009178/0.2529, allocations: 0.5569 MB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005659/0.2535, allocations: 334 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.2539, allocations: 163.4 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005554/0.2545, allocations: 219.2 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-05/0.2546, allocations: 16 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.255, allocations: 87.88 kB / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.2552, allocations: 115.7 kB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2553, allocations: 85.52 kB / 0.9864 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.2559, allocations: 355.4 kB / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.2559, allocations: 0 / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2559, allocations: 7.938 kB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.2559, allocations: 4 kB / 0.9868 GB, free: 20.21 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.001335/0.2573, allocations: 0.604 MB / 0.9874 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.2573, allocations: 23.95 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000739/0.2581, allocations: 87.42 kB / 0.9875 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.2586, allocations: 282.4 kB / 0.9877 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.2586, allocations: 24.64 kB / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.2587, allocations: 24 kB / 0.9878 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2598, allocations: 0.4901 MB / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2598, allocations: 0 / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.2599, allocations: 12 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.708e-05/0.26, allocations: 48.62 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.261, allocations: 386.2 kB / 0.9887 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.2635, allocations: 2.048 MB / 0.9907 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.2642, allocations: 222.7 kB / 0.9909 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.2648, allocations: 166.6 kB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.2648, allocations: 8 kB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2648, allocations: 30.56 kB / 0.9911 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.327e-06/0.2649, allocations: 0 / 0.9911 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001338/0.2662, allocations: 466.9 kB / 0.9915 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2663, allocations: 51.41 kB / 0.9916 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.2666, allocations: 266.6 kB / 0.9919 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2666, allocations: 25.7 kB / 0.9919 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.2667, allocations: 211.7 kB / 0.9921 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.2668, allocations: 59.11 kB / 0.9921 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.2668, allocations: 4 kB / 0.9921 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.2669, allocations: 342.8 kB / 0.9925 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.2673, allocations: 96.48 kB / 0.9926 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.2676, allocations: 223.5 kB / 0.9928 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.268, allocations: 121.5 kB / 0.9929 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.268, allocations: 0 / 0.9929 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009906/0.269, allocations: 379 kB / 0.9932 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.2692, allocations: 194 kB / 0.9934 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2692, allocations: 4 kB / 0.9934 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.2694, allocations: 40.77 kB / 0.9935 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.2698, allocations: 75.89 kB / 0.9935 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.271, allocations: 1.335 MB / 0.9949 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.2714, allocations: 47.67 kB / 0.9949 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.2715, allocations: 16.09 kB / 0.9949 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2715, allocations: 5.25 kB / 0.9949 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007777/0.2723, allocations: 295.5 kB / 0.9952 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2723, allocations: 4 kB / 0.9952 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2723, allocations: 4 kB / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.2727, allocations: 84.23 kB / 0.9953 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2727, allocations: 4 kB / 0.9953 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.273, allocations: 39.81 kB / 0.9953 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.2731, allocations: 19.95 kB / 0.9953 GB, free: 10.77 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.0002233/0.2733, allocations: 245 kB / 0.9956 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.2734, allocations: 23.72 kB / 0.9956 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.2734, allocations: 38.11 kB / 0.9956 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2735, allocations: 0 / 0.9956 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2735, allocations: 4 kB / 0.9956 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2735, allocations: 4 kB / 0.9956 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.2749, allocations: 0.7671 MB / 0.9964 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2749, allocations: 4 kB / 0.9964 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.2752, allocations: 51.84 kB / 0.9965 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.2753, allocations: 24.8 kB / 0.9965 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.2754, allocations: 12.06 kB / 0.9965 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009346/0.2763, allocations: 1.315 MB / 0.9978 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2763, allocations: 0 / 0.9978 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.2771, allocations: 385.7 kB / 0.9981 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.2772, allocations: 120.8 kB / 0.9983 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.2773, allocations: 7.938 kB / 0.9983 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.2776, allocations: 23.98 kB / 0.9983 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.2777, allocations: 15.89 kB / 0.9983 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.2777, allocations: 8 kB / 0.9983 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002296/0.2779, allocations: 182 kB / 0.9985 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2779, allocations: 0 / 0.9985 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009131/0.2789, allocations: 147.5 kB / 0.9986 GB, free: 7.156 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.0001866/0.279, allocations: 103.2 kB / 0.9987 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.2805, allocations: 0.5052 MB / 0.9992 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2805, allocations: 0 / 0.9992 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.2809, allocations: 236.7 kB / 0.9994 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.2816, allocations: 64.41 kB / 0.9995 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.2829, allocations: 0.6705 MB / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.2832, allocations: 0.7996 MB / 1.001 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003528/0.2836, allocations: 70.22 kB / 1.001 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.2837, allocations: 19.44 kB / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2837, allocations: 0 / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of Templates: time 0.008845/0.2926, allocations: 3.134 MB / 1.004 GB, free: 1.504 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)