Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001026/0.001026, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.742 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.791/1.791, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005664/0.0005664, allocations: 16.06 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3303, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02411/0.3545, allocations: 12.49 MB / 0.7994 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02885/0.3835, allocations: 9.438 MB / 0.8087 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.3863, allocations: 47.69 kB / 0.8087 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.3887, allocations: 266.2 kB / 0.8089 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009859/0.3986, allocations: 1.458 MB / 0.8104 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.4025, allocations: 0.5262 MB / 0.8109 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006514/0.4091, allocations: 1.752 MB / 0.8126 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006317/0.4155, allocations: 1.792 MB / 0.8143 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004228/0.4197, allocations: 1.192 MB / 0.8155 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.4229, allocations: 0.8522 MB / 0.8163 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000503/0.4234, allocations: 68 kB / 0.8164 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.4256, allocations: 387.5 kB / 0.8168 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009641/0.4266, allocations: 466.5 kB / 0.8172 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009624/0.4276, allocations: 356.8 kB / 0.8176 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004538/0.4321, allocations: 2.081 MB / 0.8196 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4322, allocations: 0 / 0.8196 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.647e-06/0.4322, allocations: 0 / 0.8196 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001106/0.4324, allocations: 0 / 0.8196 GB, free: 10.59 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007266/0.4396, allocations: 1.847 MB / 0.8214 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 8.187e-05/0.4398, allocations: 11.97 kB / 0.8214 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008376/0.4406, allocations: 190.2 kB / 0.8216 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02508/0.4657, allocations: 2.193 MB / 0.8237 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/0.4714, allocations: 1.163 MB / 0.8249 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.4717, allocations: 86.31 kB / 0.825 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000847/0.4725, allocations: 116 kB / 0.8251 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.486, allocations: 2.686 MB / 0.8277 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.4862, allocations: 7.906 kB / 0.8277 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007055/0.487, allocations: 51.97 kB / 0.8277 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00145/0.4884, allocations: 198.1 kB / 0.8279 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/0.5052, allocations: 2.834 MB / 0.8307 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02894/0.5342, allocations: 10.57 MB / 0.841 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.5457, allocations: 2.383 MB / 0.8433 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.5459, allocations: 16.98 kB / 0.8434 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.546, allocations: 43.56 kB / 0.8434 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 4.989e-06/0.546, allocations: 0 / 0.8434 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=153): time 0.1023/0.6483, allocations: 16.49 MB / 0.8595 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.6484, allocations: 68.72 kB / 0.8596 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.6501, allocations: 1.16 MB / 0.8607 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003539/0.6505, allocations: 49.7 kB / 0.8608 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/0.6511, allocations: 0.7436 MB / 0.8615 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/0.6516, allocations: 0.5159 MB / 0.862 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.6517, allocations: 28 kB / 0.862 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6519, allocations: 369.9 kB / 0.8624 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/0.6556, allocations: 1.526 MB / 0.8639 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/0.6594, allocations: 1.792 MB / 0.8656 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.6632, allocations: 1.638 MB / 0.8672 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6632, allocations: 0 / 0.8672 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01366/0.6769, allocations: 5.3 MB / 0.8724 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.677, allocations: 8 kB / 0.8724 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.677, allocations: 8 kB / 0.8724 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007059/0.684, allocations: 1.889 MB / 0.8742 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.6863, allocations: 431.3 kB / 0.8747 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0289/0.7152, allocations: 22.84 MB / 0.897 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.7181, allocations: 319.5 kB / 0.8973 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.7183, allocations: 67.97 kB / 0.8973 GB, free: 8.652 MB / 0.7169 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008937/0.7192, allocations: 461.4 kB / 0.8978 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/0.7196, allocations: 181.8 kB / 0.8979 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.7331, allocations: 5.344 MB / 0.9032 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.7332, allocations: 16 kB / 0.9032 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-05/0.7333, allocations: 20 kB / 0.9032 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/0.7333, allocations: 7.969 kB / 0.9032 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/0.751, allocations: 7.454 MB / 0.9105 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.751, allocations: 0 / 0.9105 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.7528, allocations: 367.3 kB / 0.9108 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006222/0.7591, allocations: 1.701 MB / 0.9125 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.7594, allocations: 47.95 kB / 0.9125 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4993/1.259, allocations: 22.04 MB / 0.9341 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.259, allocations: 5.344 kB / 0.9341 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.272, allocations: 5.065 MB / 0.939 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.274, allocations: 0.4891 MB / 0.9395 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/1.274, allocations: 25.17 kB / 0.9395 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/1.276, allocations: 330.6 kB / 0.9398 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006706/1.277, allocations: 153.8 kB / 0.94 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.277, allocations: 55.2 kB / 0.94 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001171/1.278, allocations: 0.776 MB / 0.9408 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.278, allocations: 2.844 kB / 0.9408 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002988/1.281, allocations: 0.654 MB / 0.9414 GB, free: 116.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0159/1.297, allocations: 6.394 MB / 0.9477 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.31, allocations: 5.174 MB / 0.9527 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.31, allocations: 5.094 kB / 0.9527 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007312/1.317, allocations: 3.366 MB / 0.956 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.32, allocations: 0.495 MB / 0.9565 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03487/1.355, allocations: 20.6 MB / 0.9766 GB, free: 96.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.356, allocations: 1.604 MB / 0.9782 GB, free: 95.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001795/1.358, allocations: 390.4 kB / 0.9786 GB, free: 94.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007394/1.359, allocations: 0.6612 MB / 0.9792 GB, free: 94.39 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/1.359, allocations: 0 / 0.9792 GB, free: 94.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09103/1.45, allocations: 56.14 MB / 1.034 GB, free: 40.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/1.45, allocations: 220.4 kB / 1.034 GB, free: 40.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/4.794, allocations: 4 kB / 1.034 GB, free: 40.23 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: