Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 189.6 kB / 16.14 MB, free: 6.703 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.497/1.497, allocations: 205.1 MB / 222 MB, free: 4.781 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.73/1.73, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001287/0.001287, allocations: 64.09 kB / 0.6708 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.291, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.0041/0.2952, allocations: 2.357 MB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2965, allocations: 0.8268 MB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.2966, allocations: 4 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.2972, allocations: 135.5 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.2974, allocations: 55.67 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.2976, allocations: 55.88 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.2978, allocations: 187.4 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.298, allocations: 73.06 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2982, allocations: 51.78 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.2983, allocations: 75.62 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2984, allocations: 8 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2985, allocations: 71.86 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.2986, allocations: 35.84 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.714e-05/0.2987, allocations: 67.64 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.2989, allocations: 159.7 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2989, allocations: 4 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2989, allocations: 0 / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2989, allocations: 0 / 0.7867 GB, free: 9.848 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008156/0.2998, allocations: 490.6 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2998, allocations: 8.031 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.3, allocations: 32.73 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.3003, allocations: 212.1 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.3004, allocations: 34.45 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.3004, allocations: 16.12 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.3007, allocations: 156.1 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3007, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3007, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3008, allocations: 8 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.301, allocations: 91.89 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.3018, allocations: 0.6363 MB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.3021, allocations: 62.53 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.3021, allocations: 28.91 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3022, allocations: 0 / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.3024, allocations: 146.8 kB / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3024, allocations: 0 / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003799/0.3028, allocations: 163.2 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.3029, allocations: 136.5 kB / 0.7888 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.303, allocations: 178.4 kB / 0.789 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3031, allocations: 29.7 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.3032, allocations: 143.7 kB / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3032, allocations: 15.8 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.3033, allocations: 41.62 kB / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3034, allocations: 334.8 kB / 0.7896 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.3035, allocations: 31.98 kB / 0.7896 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3036, allocations: 116.3 kB / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.3038, allocations: 226.3 kB / 0.7899 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3039, allocations: 4 kB / 0.7899 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003367/0.3042, allocations: 244.8 kB / 0.7902 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.3043, allocations: 59.41 kB / 0.7902 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3043, allocations: 7.938 kB / 0.7902 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3043, allocations: 4 kB / 0.7902 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3044, allocations: 27.92 kB / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.3044, allocations: 4 kB / 0.7903 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3046, allocations: 31.73 kB / 0.7903 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3046, allocations: 8 kB / 0.7903 GB, free: 5.77 MB / 0.6075 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 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.3047, allocations: 176.1 kB / 0.7905 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.3048, allocations: 7.906 kB / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.3048, allocations: 21.33 kB / 0.7905 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3048, allocations: 4 kB / 0.7905 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3048, allocations: 0 / 0.7905 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3048, allocations: 0 / 0.7905 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.305, allocations: 217.6 kB / 0.7907 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3051, allocations: 0 / 0.7907 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.3051, allocations: 8 kB / 0.7907 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3052, allocations: 4 kB / 0.7907 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3052, allocations: 7.938 kB / 0.7907 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3052, allocations: 0 / 0.7907 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3052, allocations: 0 / 0.7907 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.3056, allocations: 214.5 kB / 0.7909 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.3057, allocations: 89.03 kB / 0.791 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.3057, allocations: 11.94 kB / 0.791 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.3058, allocations: 12.05 kB / 0.791 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.3059, allocations: 4 kB / 0.791 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3059, allocations: 8 kB / 0.791 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001251/0.306, allocations: 141.1 kB / 0.7912 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3061, allocations: 3.938 kB / 0.7912 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002402/0.3063, allocations: 31.91 kB / 0.7912 GB, free: 4.719 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.3064, allocations: 105.6 kB / 0.7913 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003687/0.3068, allocations: 218.6 kB / 0.7915 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3068, allocations: 0 / 0.7915 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.307, allocations: 103.4 kB / 0.7916 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3072, allocations: 20.86 kB / 0.7916 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.3078, allocations: 328.9 kB / 0.7919 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3082, allocations: 0.716 MB / 0.7926 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.113e-05/0.3083, allocations: 24.41 kB / 0.7927 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.3083, allocations: 15.44 kB / 0.7927 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.3083, allocations: 0 / 0.7927 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.004159/0.3125, allocations: 1.236 MB / 0.7939 GB, free: 1.891 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)