Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 108 kB / 15.6 MB, free: 132 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.001317/0.001317, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.98/1.98, allocations: 205.1 MB / 222.4 MB, free: 4.602 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 2.011/2.011, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001612/0.001613, allocations: 65.12 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3543, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.007959/0.3623, allocations: 2.744 MB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003997/0.3664, allocations: 2.043 MB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.3668, allocations: 7.938 kB / 0.7881 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3678, allocations: 229.6 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007865/0.3686, allocations: 195.2 kB / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.3696, allocations: 271.2 kB / 0.7887 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000574/0.3702, allocations: 311.1 kB / 0.789 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004469/0.3706, allocations: 166.2 kB / 0.7892 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.371, allocations: 123.6 kB / 0.7893 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.3714, allocations: 151.5 kB / 0.7894 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.3714, allocations: 20 kB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008046/0.3723, allocations: 383.2 kB / 0.7898 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.3724, allocations: 95.78 kB / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.3726, allocations: 115.4 kB / 0.79 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009787/0.3736, allocations: 462.7 kB / 0.7905 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3736, allocations: 3.938 kB / 0.7905 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3736, allocations: 0 / 0.7905 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.3737, allocations: 0 / 0.7905 GB, free: 6.184 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001344/0.375, allocations: 0.5497 MB / 0.791 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.3751, allocations: 8.031 kB / 0.791 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009683/0.3761, allocations: 116.5 kB / 0.7911 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.3765, allocations: 254.9 kB / 0.7914 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.3765, allocations: 16.81 kB / 0.7914 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.3766, allocations: 24.11 kB / 0.7914 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.3773, allocations: 381.9 kB / 0.7918 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3774, allocations: 0 / 0.7918 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.3774, allocations: 11.98 kB / 0.7918 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.3775, allocations: 23.77 kB / 0.7918 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.3782, allocations: 363.6 kB / 0.7921 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.3805, allocations: 1.73 MB / 0.7938 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.3812, allocations: 344 kB / 0.7942 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.3815, allocations: 185.5 kB / 0.7943 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.3817, allocations: 89.11 kB / 0.7944 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3818, allocations: 42.55 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 5.771e-06/0.3818, allocations: 3.984 kB / 0.7945 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007632/0.3894, allocations: 1.901 MB / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.3896, allocations: 85.09 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3898, allocations: 185.3 kB / 0.7966 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.3898, allocations: 29.7 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.39, allocations: 152.3 kB / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3901, allocations: 118.3 kB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.3903, allocations: 77.67 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3905, allocations: 330.8 kB / 0.7973 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.391, allocations: 260.6 kB / 0.7975 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.3915, allocations: 337.5 kB / 0.7978 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3926, allocations: 0.5917 MB / 0.7984 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.3926, allocations: 7.938 kB / 0.7984 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001247/0.3938, allocations: 0.6388 MB / 0.799 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3939, allocations: 7.938 kB / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3939, allocations: 4 kB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.3939, allocations: 4.281 kB / 0.7991 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.3948, allocations: 151.8 kB / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.3948, allocations: 4 kB / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.3953, allocations: 47.92 kB / 0.7992 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.3954, allocations: 19.98 kB / 0.7993 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005878/0.396, allocations: 356.6 kB / 0.7996 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004901/0.3965, allocations: 325.2 kB / 0.7999 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009912/0.3975, allocations: 0.5667 MB / 0.8005 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.346e-06/0.3975, allocations: 0 / 0.8005 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00115/0.3986, allocations: 0.6183 MB / 0.8011 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3987, allocations: 10.66 kB / 0.8011 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3987, allocations: 4 kB / 0.8011 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.3987, allocations: 4 kB / 0.8011 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/0.3995, allocations: 143.7 kB / 0.8012 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3995, allocations: 4 kB / 0.8012 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.4, allocations: 51.92 kB / 0.8013 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.4, allocations: 16.16 kB / 0.8013 GB, free: 10.57 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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.0001965/0.4002, allocations: 212 kB / 0.8015 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.4004, allocations: 15.81 kB / 0.8015 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.4018, allocations: 0.6684 MB / 0.8022 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.4018, allocations: 4 kB / 0.8022 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4018, allocations: 3.984 kB / 0.8022 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4018, allocations: 0 / 0.8022 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.4041, allocations: 1.371 MB / 0.8035 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4042, allocations: 0 / 0.8035 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.4047, allocations: 119.8 kB / 0.8036 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.4048, allocations: 4 kB / 0.8036 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.4048, allocations: 8 kB / 0.8036 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.4048, allocations: 15.81 kB / 0.8037 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4048, allocations: 0 / 0.8037 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.4059, allocations: 0.7146 MB / 0.8044 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.4061, allocations: 140.7 kB / 0.8045 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.4062, allocations: 15.98 kB / 0.8045 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.4065, allocations: 39.89 kB / 0.8045 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4066, allocations: 27.97 kB / 0.8046 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.4067, allocations: 16 kB / 0.8046 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001552/0.4068, allocations: 148.9 kB / 0.8047 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4068, allocations: 0 / 0.8047 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007494/0.4076, allocations: 140 kB / 0.8049 GB, free: 6.754 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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.0002734/0.4079, allocations: 135.2 kB / 0.805 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.4096, allocations: 0.8946 MB / 0.8059 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4097, allocations: 3.938 kB / 0.8059 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.4101, allocations: 253.3 kB / 0.8061 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.4107, allocations: 50.64 kB / 0.8062 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.4122, allocations: 0.7078 MB / 0.8068 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4126, allocations: 0.7799 MB / 0.8076 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005418/0.4131, allocations: 166.9 kB / 0.8078 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.4133, allocations: 35.42 kB / 0.8078 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.4133, allocations: 3.938 kB / 0.8078 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of Templates: time 0.01037/0.4237, allocations: 4.795 MB / 0.8125 GB, free: 14.88 MB / 0.6388 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)