Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001488, allocations: 104.1 kB / 16.27 MB, free: 6.414 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.001654/0.001654, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.515/1.515, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.791/1.791, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001426/0.001426, allocations: 71.89 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2274, allocations: 114.5 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.3966/0.624, allocations: 6.048 MB / 0.7899 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004183/0.6282, allocations: 3.21 MB / 0.7931 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.6288, allocations: 31.44 kB / 0.7931 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.6309, allocations: 0.929 MB / 0.794 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.632, allocations: 471.7 kB / 0.7945 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.6332, allocations: 483.5 kB / 0.7949 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.6342, allocations: 1.092 MB / 0.796 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007763/0.635, allocations: 0.6439 MB / 0.7966 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.6355, allocations: 430.8 kB / 0.797 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.6359, allocations: 473.9 kB / 0.7975 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.636, allocations: 58.47 kB / 0.7975 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008332/0.6369, allocations: 486.1 kB / 0.798 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.6371, allocations: 289.7 kB / 0.7983 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.6374, allocations: 397.8 kB / 0.7987 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.6386, allocations: 1.166 MB / 0.7998 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6386, allocations: 0 / 0.7998 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6386, allocations: 2.469 kB / 0.7998 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.6387, allocations: 0 / 0.7998 GB, free: 43.53 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001569/0.6402, allocations: 1.049 MB / 0.8008 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.6403, allocations: 9.594 kB / 0.8008 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.6418, allocations: 217.2 kB / 0.801 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.6426, allocations: 0.5321 MB / 0.8016 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.6426, allocations: 46.39 kB / 0.8016 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6427, allocations: 66.69 kB / 0.8017 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.6442, allocations: 1.036 MB / 0.8027 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.6442, allocations: 11.48 kB / 0.8027 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.6443, allocations: 29.27 kB / 0.8027 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.6444, allocations: 65.27 kB / 0.8028 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.6455, allocations: 0.6909 MB / 0.8035 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.65, allocations: 5.749 MB / 0.8091 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.6509, allocations: 0.6046 MB / 0.8097 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008441/0.6517, allocations: 423.5 kB / 0.8101 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.6518, allocations: 4.859 kB / 0.8101 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.6518, allocations: 37.39 kB / 0.8101 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 2.985e-06/0.6518, allocations: 4.531 kB / 0.8101 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.004588/0.6564, allocations: 2.055 MB / 0.8121 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.6565, allocations: 55.69 kB / 0.8122 GB, free: 34.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.657, allocations: 454.7 kB / 0.8126 GB, free: 34.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.657, allocations: 31.2 kB / 0.8126 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.6573, allocations: 385.6 kB / 0.813 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.6574, allocations: 155.5 kB / 0.8131 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.6575, allocations: 103.8 kB / 0.8132 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.6576, allocations: 368.8 kB / 0.8136 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.658, allocations: 249.9 kB / 0.8138 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.6585, allocations: 452.1 kB / 0.8143 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.6594, allocations: 0.7557 MB / 0.815 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.6594, allocations: 2.562 kB / 0.815 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001917/0.6613, allocations: 1.071 MB / 0.8161 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6613, allocations: 13.36 kB / 0.8161 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.6613, allocations: 6.875 kB / 0.8161 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.6624, allocations: 332.1 kB / 0.8164 GB, free: 32.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.6628, allocations: 97.97 kB / 0.8165 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00621/0.669, allocations: 7.512 MB / 0.8238 GB, free: 25.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.6696, allocations: 33.88 kB / 0.8239 GB, free: 25.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.6696, allocations: 27.08 kB / 0.8239 GB, free: 25.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003589/0.67, allocations: 251.3 kB / 0.8241 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.6701, allocations: 65.64 kB / 0.8242 GB, free: 25.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.6718, allocations: 0.9076 MB / 0.8251 GB, free: 25.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6718, allocations: 5.953 kB / 0.8251 GB, free: 25.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.6718, allocations: 9.625 kB / 0.8251 GB, free: 25.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.6718, allocations: 3.484 kB / 0.8251 GB, free: 25.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.6745, allocations: 1.705 MB / 0.8267 GB, free: 24.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6745, allocations: 1.219 kB / 0.8267 GB, free: 24.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.6747, allocations: 42.23 kB / 0.8268 GB, free: 24.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009685/0.6757, allocations: 329.8 kB / 0.8271 GB, free: 24.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.6757, allocations: 11.56 kB / 0.8271 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/0.6816, allocations: 7.517 MB / 0.8345 GB, free: 17.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.6817, allocations: 2.75 kB / 0.8345 GB, free: 17.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.6834, allocations: 1.013 MB / 0.8354 GB, free: 17.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.6837, allocations: 175.2 kB / 0.8356 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.6838, allocations: 12.73 kB / 0.8356 GB, free: 17.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.6841, allocations: 27.25 kB / 0.8357 GB, free: 17.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6842, allocations: 35.55 kB / 0.8357 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.6842, allocations: 13 kB / 0.8357 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003357/0.6846, allocations: 307.4 kB / 0.836 GB, free: 17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6846, allocations: 0 / 0.836 GB, free: 17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008675/0.6854, allocations: 198.2 kB / 0.8362 GB, free: 16.97 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001262/0.6856, allocations: 116.2 kB / 0.8363 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.6875, allocations: 1.245 MB / 0.8375 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6875, allocations: 128 / 0.8375 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.6886, allocations: 0.865 MB / 0.8384 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.6897, allocations: 195.2 kB / 0.8385 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.6917, allocations: 1.305 MB / 0.8398 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.6923, allocations: 0.9881 MB / 0.8408 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.6924, allocations: 40.08 kB / 0.8408 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.6924, allocations: 0 / 0.8408 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.02321/0.7156, allocations: 18.46 MB / 0.8588 GB, free: 6.934 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)