Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 198.2 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001864, allocations: 73.28 kB / 0.6723 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2452, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006162/0.2514, allocations: 3.834 MB / 0.7879 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.2545, allocations: 1.773 MB / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.2549, allocations: 8 kB / 0.7896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.2564, allocations: 457.3 kB / 0.79 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007315/0.2572, allocations: 242.8 kB / 0.7903 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.2579, allocations: 251.5 kB / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007164/0.2587, allocations: 0.4906 MB / 0.791 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006297/0.2593, allocations: 364.8 kB / 0.7913 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.2596, allocations: 191.4 kB / 0.7915 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.2601, allocations: 243.1 kB / 0.7918 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.03e-05/0.2602, allocations: 28 kB / 0.7918 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.2606, allocations: 187.6 kB / 0.792 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.2608, allocations: 135.7 kB / 0.7921 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.261, allocations: 171.1 kB / 0.7923 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.2616, allocations: 498.4 kB / 0.7927 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2617, allocations: 4 kB / 0.7927 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2617, allocations: 0 / 0.7927 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.2617, allocations: 0 / 0.7927 GB, free: 3.895 MB / 0.6075 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.00122/0.2629, allocations: 0.655 MB / 0.7934 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.263, allocations: 11.97 kB / 0.7934 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.2636, allocations: 88.41 kB / 0.7935 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.264, allocations: 299.5 kB / 0.7938 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.2641, allocations: 25.02 kB / 0.7938 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.2641, allocations: 28.38 kB / 0.7938 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/0.2649, allocations: 493.9 kB / 0.7943 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.265, allocations: 7.875 kB / 0.7943 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.265, allocations: 12 kB / 0.7943 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.2651, allocations: 36.64 kB / 0.7943 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/0.2659, allocations: 366.3 kB / 0.7947 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.2681, allocations: 2.033 MB / 0.7967 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.2687, allocations: 210.7 kB / 0.7969 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.2691, allocations: 152.8 kB / 0.797 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.2691, allocations: 4 kB / 0.797 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2692, allocations: 42.48 kB / 0.7971 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.2692, allocations: 0 / 0.7971 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.001109/0.2703, allocations: 422.5 kB / 0.7975 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.2704, allocations: 55.41 kB / 0.7975 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.2707, allocations: 262.6 kB / 0.7978 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.2707, allocations: 33.7 kB / 0.7978 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.2708, allocations: 203.7 kB / 0.798 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.2709, allocations: 67.03 kB / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.271, allocations: 61.89 kB / 0.7981 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2711, allocations: 334.8 kB / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.2714, allocations: 105.8 kB / 0.7985 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.2717, allocations: 203.6 kB / 0.7987 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.2723, allocations: 309.4 kB / 0.799 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2723, allocations: 4 kB / 0.799 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000753/0.273, allocations: 352.5 kB / 0.7994 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2731, allocations: 8 kB / 0.7994 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.2731, allocations: 4.469 kB / 0.7994 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.2733, allocations: 44.77 kB / 0.7994 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.2736, allocations: 59.91 kB / 0.7995 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.2751, allocations: 1.445 MB / 0.8009 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.2754, allocations: 47.73 kB / 0.8009 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.2754, allocations: 19.98 kB / 0.8009 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003533/0.2758, allocations: 213.3 kB / 0.8012 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003095/0.2761, allocations: 212.7 kB / 0.8014 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005725/0.2767, allocations: 321.8 kB / 0.8017 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.2767, allocations: 0 / 0.8017 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007497/0.2775, allocations: 337 kB / 0.802 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2775, allocations: 8 kB / 0.802 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2775, allocations: 4 kB / 0.802 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.2775, allocations: 8 kB / 0.802 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.2778, allocations: 71.83 kB / 0.8021 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2778, allocations: 4 kB / 0.8021 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.2781, allocations: 36.14 kB / 0.8021 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.2781, allocations: 19.98 kB / 0.8021 GB, free: 9.48 MB / 0.6231 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.0002117/0.2783, allocations: 202.5 kB / 0.8023 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.2784, allocations: 23.72 kB / 0.8023 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/0.2785, allocations: 34.17 kB / 0.8024 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2785, allocations: 4 kB / 0.8024 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2785, allocations: 0 / 0.8024 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2786, allocations: 0 / 0.8024 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.28, allocations: 0.7499 MB / 0.8031 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2801, allocations: 0 / 0.8031 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.2803, allocations: 44.03 kB / 0.8032 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.2804, allocations: 28.78 kB / 0.8032 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.2804, allocations: 0 / 0.8032 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.2817, allocations: 1.426 MB / 0.8046 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.2817, allocations: 3.938 kB / 0.8046 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.2824, allocations: 364.5 kB / 0.8049 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.2825, allocations: 116.8 kB / 0.805 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.2826, allocations: 4 kB / 0.805 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.2828, allocations: 23.98 kB / 0.8051 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.2828, allocations: 23.91 kB / 0.8051 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.2828, allocations: 7.938 kB / 0.8051 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001733/0.283, allocations: 185.9 kB / 0.8053 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.283, allocations: 0 / 0.8053 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006153/0.2837, allocations: 147.5 kB / 0.8054 GB, free: 5.848 MB / 0.6231 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.0001191/0.2838, allocations: 103.2 kB / 0.8055 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.285, allocations: 494.4 kB / 0.806 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.285, allocations: 4 kB / 0.806 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.2854, allocations: 219.3 kB / 0.8062 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.2861, allocations: 75.25 kB / 0.8063 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2874, allocations: 0.541 MB / 0.8068 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.2879, allocations: 0.8035 MB / 0.8076 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000246/0.2881, allocations: 66.23 kB / 0.8076 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.2882, allocations: 23.44 kB / 0.8077 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of SimCode: time 8.51e-07/0.2882, allocations: 0 / 0.8077 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of Templates: time 0.007701/0.2959, allocations: 3.533 MB / 0.8111 GB, free: 15.96 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)