Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.744/2.744, allocations: 287.5 MB / 302.4 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 180.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009349/0.0009346, allocations: 92.56 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007543/0.0007546, allocations: 11.58 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2538, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01848/0.2724, allocations: 12.56 MB / 0.9907 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.2893, allocations: 8.829 MB / 0.9994 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.2911, allocations: 51.62 kB / 0.9994 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.2926, allocations: 269.8 kB / 0.9997 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.2981, allocations: 1.276 MB / 1.001 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.3007, allocations: 0.5162 MB / 1.001 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004549/0.3053, allocations: 2.673 MB / 1.004 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004616/0.3099, allocations: 1.795 MB / 1.006 GB, free: 164 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.3127, allocations: 0.8442 MB / 1.007 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/0.3156, allocations: 1.027 MB / 1.008 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006075/0.3162, allocations: 72 kB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.3185, allocations: 439.5 kB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.3199, allocations: 0.5023 MB / 1.009 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009386/0.3209, allocations: 344.8 kB / 1.009 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004229/0.3251, allocations: 2.123 MB / 1.011 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.3252, allocations: 3.938 kB / 1.011 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.726e-06/0.3252, allocations: 0 / 1.011 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.221e-05/0.3253, allocations: 0 / 1.011 GB, free: 10.8 MB / 0.6355 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.006221/0.3315, allocations: 1.831 MB / 1.013 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.3316, allocations: 8.031 kB / 1.013 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006834/0.3323, allocations: 190.2 kB / 1.013 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02113/0.3534, allocations: 2.151 MB / 1.015 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/0.3577, allocations: 1.154 MB / 1.016 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.3579, allocations: 90.36 kB / 1.016 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006831/0.3586, allocations: 123.8 kB / 1.016 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.3698, allocations: 2.69 MB / 1.019 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-05/0.3699, allocations: 0 / 1.019 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/0.3703, allocations: 55.98 kB / 1.019 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/0.3715, allocations: 186.1 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.3866, allocations: 2.842 MB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.4144, allocations: 10.58 MB / 1.032 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.4276, allocations: 2.564 MB / 1.035 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006067/0.4337, allocations: 1.298 MB / 1.036 GB, free: 104 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.4339, allocations: 13 kB / 1.036 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.434, allocations: 47.5 kB / 1.036 GB, free: 36 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 4.559e-06/0.434, allocations: 0 / 1.036 GB, free: 36 kB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.09966/0.5337, allocations: 13.44 MB / 1.049 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.5338, allocations: 76.72 kB / 1.049 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.5375, allocations: 1.101 MB / 1.05 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005331/0.5381, allocations: 45.7 kB / 1.051 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.5395, allocations: 0.7155 MB / 1.051 GB, free: 416 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.5407, allocations: 453.5 kB / 1.052 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.5411, allocations: 24 kB / 1.052 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002763/0.5414, allocations: 365.7 kB / 1.052 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01004/0.5514, allocations: 1.358 MB / 1.053 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/0.5621, allocations: 1.612 MB / 1.055 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.5728, allocations: 1.458 MB / 1.056 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.5729, allocations: 7.938 kB / 1.056 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0339/0.6068, allocations: 4.474 MB / 1.061 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.6069, allocations: 11.98 kB / 1.061 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.6069, allocations: 8 kB / 1.061 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0151/0.6221, allocations: 1.42 MB / 1.062 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005689/0.6278, allocations: 447.2 kB / 1.063 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6603/1.288, allocations: 24.52 MB / 1.086 GB, free: 68.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/1.293, allocations: 313.4 kB / 1.087 GB, free: 68.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/1.293, allocations: 65.94 kB / 1.087 GB, free: 68.72 MB / 0.6823 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001321/1.295, allocations: 434.2 kB / 1.087 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005609/1.295, allocations: 161.6 kB / 1.087 GB, free: 68.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0223/1.317, allocations: 4.482 MB / 1.092 GB, free: 67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/1.318, allocations: 12.69 kB / 1.092 GB, free: 67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.189e-05/1.318, allocations: 14.22 kB / 1.092 GB, free: 67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.685e-05/1.318, allocations: 6.141 kB / 1.092 GB, free: 67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/1.346, allocations: 6.801 MB / 1.098 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/1.346, allocations: 2.5 kB / 1.098 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/1.35, allocations: 393.4 kB / 1.099 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00888/1.359, allocations: 1.307 MB / 1.1 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003991/1.359, allocations: 43.08 kB / 1.1 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03183/1.391, allocations: 23.5 MB / 1.123 GB, free: 44.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.391, allocations: 4.438 kB / 1.123 GB, free: 44.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/1.41, allocations: 4.227 MB / 1.127 GB, free: 42.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.412, allocations: 462.1 kB / 1.128 GB, free: 42.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005942/1.412, allocations: 23.88 kB / 1.128 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004295/1.417, allocations: 319 kB / 1.128 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006852/1.418, allocations: 127.2 kB / 1.128 GB, free: 42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/1.418, allocations: 47.94 kB / 1.128 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001739/1.42, allocations: 0.738 MB / 1.129 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.52e-07/1.42, allocations: 0 / 1.129 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003855/1.423, allocations: 0.5743 MB / 1.129 GB, free: 41.5 MB / 0.6823 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03076/1.454, allocations: 4.815 MB / 1.134 GB, free: 38.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02913/1.483, allocations: 5.15 MB / 1.139 GB, free: 35.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/1.484, allocations: 1.031 kB / 1.139 GB, free: 35.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01815/1.502, allocations: 3.509 MB / 1.143 GB, free: 32.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006885/1.509, allocations: 0.5054 MB / 1.143 GB, free: 32.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05831/1.567, allocations: 14.39 MB / 1.157 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.568, allocations: 1.473 MB / 1.159 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002878/1.571, allocations: 429.6 kB / 1.159 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/1.573, allocations: 0.6242 MB / 1.16 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/1.573, allocations: 0 / 1.16 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/1.73, allocations: 49.72 MB / 1.208 GB, free: 392 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003764/1.731, allocations: 227.5 kB / 1.208 GB, free: 144 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.524/6.255, allocations: 0 / 1.208 GB, free: 144 kB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)