Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.0009503/0.0009504, allocations: 175.2 kB / 372.9 MB, free: 10.16 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.596/1.596, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0008552/0.0008554, allocations: 98.42 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004052, allocations: 14.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2912, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00322/0.2945, allocations: 1.948 MB / 0.9826 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.296, allocations: 0.7842 MB / 0.9834 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2961, allocations: 0 / 0.9834 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.2962, allocations: 15.86 kB / 0.9834 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.2965, allocations: 63.67 kB / 0.9835 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2968, allocations: 43.94 kB / 0.9835 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.297, allocations: 159.4 kB / 0.9837 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.2973, allocations: 201.5 kB / 0.9839 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.2974, allocations: 51.77 kB / 0.9839 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2976, allocations: 63.75 kB / 0.984 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.2977, allocations: 4 kB / 0.984 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.2978, allocations: 59.88 kB / 0.984 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.2979, allocations: 31.89 kB / 0.9841 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.298, allocations: 77.44 kB / 0.9841 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2982, allocations: 131.9 kB / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2982, allocations: 7.938 kB / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2982, allocations: 0 / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2982, allocations: 0 / 0.9843 GB, free: 23.68 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007636/0.299, allocations: 458.6 kB / 0.9847 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.2991, allocations: 8.031 kB / 0.9847 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.2994, allocations: 28.73 kB / 0.9847 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.2996, allocations: 214.4 kB / 0.9849 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/0.2997, allocations: 46.44 kB / 0.985 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.2998, allocations: 12.06 kB / 0.985 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.3002, allocations: 152.8 kB / 0.9851 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3002, allocations: 0 / 0.9851 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.3002, allocations: 4 kB / 0.9851 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.3003, allocations: 8 kB / 0.9852 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.3005, allocations: 95.88 kB / 0.9852 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009664/0.3015, allocations: 0.648 MB / 0.9859 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.3018, allocations: 62.56 kB / 0.9859 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3019, allocations: 28.84 kB / 0.986 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.302, allocations: 0 / 0.986 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.3022, allocations: 154.6 kB / 0.9861 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.3022, allocations: 0 / 0.9861 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004602/0.3027, allocations: 167.4 kB / 0.9863 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3028, allocations: 128.5 kB / 0.9864 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.303, allocations: 182.3 kB / 0.9866 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.303, allocations: 33.7 kB / 0.9866 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.3031, allocations: 139.8 kB / 0.9867 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.3031, allocations: 15.81 kB / 0.9868 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.3031, allocations: 4 kB / 0.9868 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.3032, allocations: 322.8 kB / 0.9871 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3033, allocations: 43.97 kB / 0.9871 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3035, allocations: 117.3 kB / 0.9872 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.3038, allocations: 230.4 kB / 0.9874 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3039, allocations: 0 / 0.9874 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004558/0.3043, allocations: 236.7 kB / 0.9877 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.3044, allocations: 63.7 kB / 0.9877 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3044, allocations: 8 kB / 0.9877 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3044, allocations: 7.938 kB / 0.9877 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3046, allocations: 35.92 kB / 0.9878 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.3046, allocations: 4 kB / 0.9878 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3048, allocations: 23.83 kB / 0.9878 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3049, allocations: 12 kB / 0.9878 GB, free: 19.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.305, allocations: 173.1 kB / 0.988 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.3051, allocations: 15.75 kB / 0.988 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.3051, allocations: 21.28 kB / 0.988 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3051, allocations: 0 / 0.988 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3051, allocations: 4 kB / 0.988 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.3052, allocations: 85 kB / 0.9881 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.3052, allocations: 8 kB / 0.9881 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3054, allocations: 11.98 kB / 0.9881 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.3055, allocations: 11.98 kB / 0.9881 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004313/0.3059, allocations: 290 kB / 0.9884 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005092/0.3064, allocations: 372.6 kB / 0.9888 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001374/0.3066, allocations: 51.97 kB / 0.9888 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001178/0.3067, allocations: 132.3 kB / 0.9889 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of Backend: time 4.91e-07/0.3067, allocations: 0 / 0.9889 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008452/0.3076, allocations: 313.2 kB / 0.9892 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007358/0.3083, allocations: 0.8193 MB / 0.99 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.005738/0.3141, allocations: 1.511 MB / 0.9915 GB, free: 15.7 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)