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.001206/0.001206, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001299/0.001299, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.606/1.606, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.658/1.658, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001806/0.001806, allocations: 67.38 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.284, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004073/0.2881, allocations: 2.349 MB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2895, allocations: 0.8268 MB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.2896, allocations: 0 / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.2903, allocations: 139.5 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.2905, allocations: 51.73 kB / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.2906, allocations: 55.89 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.2909, allocations: 155.5 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.2912, allocations: 105 kB / 0.7871 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2913, allocations: 67.7 kB / 0.7872 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2915, allocations: 75.73 kB / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.2915, allocations: 8 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.2916, allocations: 55.89 kB / 0.7873 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.2917, allocations: 39.84 kB / 0.7873 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.2918, allocations: 71.59 kB / 0.7874 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.292, allocations: 131.9 kB / 0.7875 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.292, allocations: 7.984 kB / 0.7875 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.292, allocations: 0 / 0.7875 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.292, allocations: 0 / 0.7875 GB, free: 9.742 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.0007359/0.2927, allocations: 490.6 kB / 0.788 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2928, allocations: 8.031 kB / 0.788 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.293, allocations: 28.73 kB / 0.788 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.2933, allocations: 215 kB / 0.7882 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.2933, allocations: 34.45 kB / 0.7883 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.2934, allocations: 20.12 kB / 0.7883 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.2936, allocations: 143 kB / 0.7884 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2937, allocations: 0 / 0.7884 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.2937, allocations: 7.984 kB / 0.7884 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.2937, allocations: 4 kB / 0.7884 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.2939, allocations: 87.88 kB / 0.7885 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.2948, allocations: 0.6441 MB / 0.7892 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.295, allocations: 58.56 kB / 0.7892 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.2951, allocations: 28.91 kB / 0.7892 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.2951, allocations: 3.938 kB / 0.7892 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.2953, allocations: 146.7 kB / 0.7894 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2953, allocations: 0 / 0.7894 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003562/0.2957, allocations: 163.3 kB / 0.7895 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.2958, allocations: 132.5 kB / 0.7897 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2959, allocations: 178.4 kB / 0.7898 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.296, allocations: 29.7 kB / 0.7899 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.2961, allocations: 143.6 kB / 0.79 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2961, allocations: 19.75 kB / 0.79 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.2962, allocations: 45.61 kB / 0.7901 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2963, allocations: 326.8 kB / 0.7904 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.2964, allocations: 47.92 kB / 0.7904 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2966, allocations: 105.4 kB / 0.7905 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.2968, allocations: 226.4 kB / 0.7907 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2969, allocations: 3.938 kB / 0.7907 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003522/0.2972, allocations: 244.7 kB / 0.791 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.2973, allocations: 63.39 kB / 0.791 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2973, allocations: 4.25 kB / 0.791 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2973, allocations: 8 kB / 0.791 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2974, allocations: 27.98 kB / 0.7911 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2974, allocations: 7.938 kB / 0.7911 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.2976, allocations: 31.73 kB / 0.7911 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.2976, allocations: 8 kB / 0.7911 GB, free: 5.66 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.0001297/0.2978, allocations: 160.8 kB / 0.7913 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2978, allocations: 15.91 kB / 0.7913 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.2978, allocations: 21.34 kB / 0.7913 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2978, allocations: 0 / 0.7913 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2979, allocations: 0 / 0.7913 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2979, allocations: 3.984 kB / 0.7913 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.2981, allocations: 209.6 kB / 0.7915 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2981, allocations: 0 / 0.7915 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.2981, allocations: 15.92 kB / 0.7915 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2982, allocations: 0 / 0.7915 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.2982, allocations: 3.938 kB / 0.7915 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2982, allocations: 4 kB / 0.7915 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2982, allocations: 4.312 kB / 0.7915 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.2986, allocations: 218.6 kB / 0.7917 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.2986, allocations: 88.98 kB / 0.7918 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.2987, allocations: 11.92 kB / 0.7918 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.2988, allocations: 8 kB / 0.7918 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.2988, allocations: 11.98 kB / 0.7919 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2989, allocations: 16 kB / 0.7919 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001131/0.299, allocations: 141.1 kB / 0.792 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.299, allocations: 0 / 0.792 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002434/0.2992, allocations: 31.91 kB / 0.792 GB, free: 4.605 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.0001972/0.2994, allocations: 103.2 kB / 0.7921 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.2998, allocations: 215.1 kB / 0.7923 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2999, allocations: 4.125 kB / 0.7923 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3, allocations: 103.4 kB / 0.7924 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.3003, allocations: 16 kB / 0.7925 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.3009, allocations: 370.4 kB / 0.7928 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3012, allocations: 0.7119 MB / 0.7935 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.3013, allocations: 15.44 kB / 0.7935 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3013, allocations: 7.938 kB / 0.7935 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of Templates: time 0.003362/0.3046, allocations: 1.687 MB / 0.7952 GB, free: 1.301 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)