Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.488/2.488, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001424/0.001424, allocations: 180.9 kB / 360.6 MB, free: 7.266 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.09/2.09, allocations: 205.2 MB / 0.6191 GB, free: 12.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001084, allocations: 88.45 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.008e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8835, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3124/1.196, allocations: 181 MB / 1.14 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005243/1.197, allocations: 95.94 kB / 1.14 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1233/1.32, allocations: 28.51 MB / 1.168 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.784e-06/1.32, allocations: 0 / 1.168 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.959e-05/1.32, allocations: 8 kB / 1.168 GB, free: 10.63 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001767/1.322, allocations: 0.6864 MB / 1.169 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.322, allocations: 8.031 kB / 1.169 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/1.327, allocations: 0.5728 MB / 1.169 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/1.328, allocations: 474.7 kB / 1.17 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/1.328, allocations: 16 kB / 1.17 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/1.328, allocations: 16 kB / 1.17 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/1.329, allocations: 465.3 kB / 1.17 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/1.331, allocations: 0.5447 MB / 1.171 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/1.331, allocations: 7.938 kB / 1.171 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/1.331, allocations: 0 / 1.171 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-05/1.331, allocations: 20.77 kB / 1.171 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007534/1.339, allocations: 2.786 MB / 1.174 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.34, allocations: 346.2 kB / 1.174 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/1.34, allocations: 158.6 kB / 1.174 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/1.34, allocations: 89.11 kB / 1.174 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.341, allocations: 38.55 kB / 1.174 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 3.046e-06/1.341, allocations: 0 / 1.174 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.007618/1.348, allocations: 1.531 MB / 1.176 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/1.348, allocations: 81.11 kB / 1.176 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/1.349, allocations: 336.9 kB / 1.176 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/1.349, allocations: 25.7 kB / 1.176 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/1.349, allocations: 236 kB / 1.176 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.35, allocations: 82.84 kB / 1.176 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/1.35, allocations: 3.938 kB / 1.176 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.35, allocations: 338.8 kB / 1.177 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/1.35, allocations: 243.9 kB / 1.177 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/1.351, allocations: 320.5 kB / 1.177 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/1.352, allocations: 291.6 kB / 1.178 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.352, allocations: 3.938 kB / 1.178 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005073/1.357, allocations: 1.051 MB / 1.179 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/1.358, allocations: 0.7943 MB / 1.179 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.358, allocations: 0 / 1.179 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004063/1.362, allocations: 489 kB / 1.18 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.363, allocations: 127.8 kB / 1.18 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006152/1.369, allocations: 3.012 MB / 1.183 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.37, allocations: 103.8 kB / 1.183 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/1.371, allocations: 23.92 kB / 1.183 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.371, allocations: 4 kB / 1.183 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001395/1.372, allocations: 463.6 kB / 1.183 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.372, allocations: 6.656 kB / 1.183 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/1.372, allocations: 4 kB / 1.183 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.373, allocations: 152 kB / 1.184 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.373, allocations: 4 kB / 1.184 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.374, allocations: 103.8 kB / 1.184 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/1.375, allocations: 11.98 kB / 1.184 GB, free: 9.996 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000221/1.375, allocations: 116.7 kB / 1.184 GB, free: 9.875 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005035/1.38, allocations: 1.046 MB / 1.185 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.38, allocations: 31.62 kB / 1.185 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/1.386, allocations: 1.1 MB / 1.186 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.386, allocations: 5.625 kB / 1.186 GB, free: 7.672 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.386, allocations: 0 / 1.186 GB, free: 7.672 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/1.386, allocations: 7.984 kB / 1.186 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006594/1.392, allocations: 1.706 MB / 1.188 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.392, allocations: 3.984 kB / 1.188 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/1.393, allocations: 87.94 kB / 1.188 GB, free: 5.812 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004319/1.397, allocations: 0.6143 MB / 1.188 GB, free: 5.191 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/1.397, allocations: 11.94 kB / 1.188 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008552/1.406, allocations: 4.201 MB / 1.192 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.406, allocations: 1.875 kB / 1.192 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005021/1.411, allocations: 1.168 MB / 1.194 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/1.412, allocations: 168.7 kB / 1.194 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/1.412, allocations: 0 / 1.194 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.413, allocations: 115.8 kB / 1.194 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.413, allocations: 19.97 kB / 1.194 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/1.413, allocations: 10.44 kB / 1.194 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004951/1.414, allocations: 268.5 kB / 1.194 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.8e-07/1.414, allocations: 0 / 1.194 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001171/1.415, allocations: 187.9 kB / 1.194 GB, free: 14.76 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005844/1.421, allocations: 1.987 MB / 1.196 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002835/1.424, allocations: 0.9641 MB / 1.197 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.424, allocations: 0 / 1.197 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/1.425, allocations: 0.5642 MB / 1.198 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/1.426, allocations: 96.31 kB / 1.198 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/1.429, allocations: 0.8728 MB / 1.199 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/1.43, allocations: 0.9327 MB / 1.2 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001268/1.431, allocations: 225.3 kB / 1.2 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/1.431, allocations: 131.4 kB / 1.2 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of SimCode: time 1.332e-06/1.431, allocations: 0 / 1.2 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06152/1.493, allocations: 13.58 MB / 1.213 GB, free: 11.45 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003276/1.493, allocations: 153.2 kB / 1.213 GB, free: 11.26 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/4.468, allocations: 0 / 1.213 GB, free: 11.26 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)