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.001215/0.001216, 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.001349/0.001348, allocations: 196.9 kB / 16.64 MB, free: 6.453 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.86/1.86, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001497/0.001497, allocations: 69.36 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2887, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004/0.2928, allocations: 2.307 MB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.2943, allocations: 0.8229 MB / 0.7872 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.2944, allocations: 4 kB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.2951, allocations: 151.3 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.2954, allocations: 67.67 kB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.2956, allocations: 55.81 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.2958, allocations: 159.5 kB / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.2961, allocations: 100.8 kB / 0.7877 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.2963, allocations: 63.77 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2965, allocations: 75.67 kB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2965, allocations: 8 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.2966, allocations: 47.91 kB / 0.7879 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.2967, allocations: 39.89 kB / 0.7879 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.2968, allocations: 67.66 kB / 0.788 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.2971, allocations: 179.3 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2971, allocations: 0 / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2971, allocations: 0 / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2971, allocations: 0 / 0.7881 GB, free: 8.625 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.0007584/0.2979, allocations: 494.5 kB / 0.7886 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.298, allocations: 12.03 kB / 0.7886 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.2982, allocations: 28.73 kB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.2985, allocations: 212.1 kB / 0.7889 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.2985, allocations: 38.45 kB / 0.7889 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.2986, allocations: 12.12 kB / 0.7889 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.2988, allocations: 147 kB / 0.789 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2989, allocations: 0 / 0.789 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.2989, allocations: 8 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.2989, allocations: 4 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.2991, allocations: 83.89 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.3, allocations: 0.6441 MB / 0.7898 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.3002, allocations: 62.61 kB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.3003, allocations: 32.78 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.3003, allocations: 3.938 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.3005, allocations: 138.8 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.3005, allocations: 3.938 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003864/0.3009, allocations: 167.3 kB / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.301, allocations: 140.5 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.3012, allocations: 182.8 kB / 0.7905 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3012, allocations: 29.7 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.3013, allocations: 135.7 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.3013, allocations: 19.8 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.3014, allocations: 45.61 kB / 0.7907 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.3015, allocations: 318.8 kB / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.3016, allocations: 43.94 kB / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3017, allocations: 109.4 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.302, allocations: 238.3 kB / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.302, allocations: 0 / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003358/0.3023, allocations: 236.7 kB / 0.7916 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.3024, allocations: 59.41 kB / 0.7916 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3024, allocations: 7.938 kB / 0.7916 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3024, allocations: 8.312 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3025, allocations: 31.98 kB / 0.7917 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3026, allocations: 7.938 kB / 0.7917 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3027, allocations: 31.73 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3027, allocations: 4 kB / 0.7917 GB, free: 4.535 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.0001359/0.3029, allocations: 171.4 kB / 0.7919 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.3029, allocations: 11.91 kB / 0.7919 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.303, allocations: 25.33 kB / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.303, allocations: 48 / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.303, allocations: 7.922 kB / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.303, allocations: 0 / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.3032, allocations: 213.6 kB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3032, allocations: 3.938 kB / 0.7921 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.829e-05/0.3033, allocations: 12 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3033, allocations: 0 / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3033, allocations: 3.938 kB / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3033, allocations: 3.984 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3033, allocations: 3.938 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.3037, allocations: 218.6 kB / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.3037, allocations: 85.05 kB / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3038, allocations: 3.938 kB / 0.7925 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.3039, allocations: 15.98 kB / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.304, allocations: 4 kB / 0.7925 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.304, allocations: 3.984 kB / 0.7925 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001035/0.3041, allocations: 144.3 kB / 0.7926 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3041, allocations: 0 / 0.7926 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002468/0.3043, allocations: 31.91 kB / 0.7926 GB, free: 3.484 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.0001182/0.3045, allocations: 103.2 kB / 0.7927 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.3048, allocations: 223.2 kB / 0.793 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3048, allocations: 0 / 0.793 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3049, allocations: 103.4 kB / 0.7931 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.3052, allocations: 19.98 kB / 0.7931 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.3057, allocations: 285.8 kB / 0.7934 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.306, allocations: 0.7158 MB / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.668e-05/0.3061, allocations: 12.64 kB / 0.7941 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.3062, allocations: 19.44 kB / 0.7941 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3062, allocations: 3.938 kB / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of Templates: time 0.004146/0.3103, allocations: 1.392 MB / 0.7954 GB, free: 0.543 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)