Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.954/1.954, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001046/0.001046, allocations: 192.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0008582/0.0008584, allocations: 86.73 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.152e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6523/0.6523, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/0.8835, allocations: 182.2 MB / 1.151 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.8839, allocations: 96.64 kB / 1.151 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.07275/0.9566, allocations: 28.5 MB / 1.179 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9567, allocations: 0 / 1.179 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.629e-05/0.9567, allocations: 8 kB / 1.179 GB, free: 3.121 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.00113/0.9579, allocations: 0.6931 MB / 1.18 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9579, allocations: 12.03 kB / 1.18 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.9605, allocations: 0.5649 MB / 1.18 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.9613, allocations: 482.6 kB / 1.181 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.9614, allocations: 8 kB / 1.181 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.9614, allocations: 16 kB / 1.181 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007164/0.9622, allocations: 469.3 kB / 1.181 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.963, allocations: 0.5447 MB / 1.182 GB, free: 244 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.963, allocations: 0 / 1.182 GB, free: 244 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.9631, allocations: 0 / 1.182 GB, free: 244 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/0.9631, allocations: 28.7 kB / 1.182 GB, free: 216 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.9667, allocations: 2.782 MB / 1.185 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.9675, allocations: 346.3 kB / 1.185 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.9677, allocations: 161.4 kB / 1.185 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.9678, allocations: 85.11 kB / 1.185 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.9679, allocations: 38.55 kB / 1.185 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.9679, allocations: 0 / 1.185 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.00427/0.9722, allocations: 1.536 MB / 1.187 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.9722, allocations: 81.11 kB / 1.187 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.9726, allocations: 329 kB / 1.187 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.9727, allocations: 27.48 kB / 1.187 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.9728, allocations: 248 kB / 1.187 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/0.9729, allocations: 74.84 kB / 1.187 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.9729, allocations: 0 / 1.187 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9731, allocations: 342.8 kB / 1.188 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.9734, allocations: 239.9 kB / 1.188 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.9737, allocations: 317.4 kB / 1.188 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.9743, allocations: 295.1 kB / 1.189 GB, free: 9.023 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9743, allocations: 32 / 1.189 GB, free: 9.023 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002706/0.977, allocations: 1.064 MB / 1.19 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003432/0.9773, allocations: 0.7954 MB / 1.19 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.9774, allocations: 4 kB / 1.19 GB, free: 7.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.9795, allocations: 477 kB / 1.191 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.9802, allocations: 131.8 kB / 1.191 GB, free: 6.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.9837, allocations: 3.011 MB / 1.194 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.9845, allocations: 107.8 kB / 1.194 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.9846, allocations: 15.98 kB / 1.194 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.9846, allocations: 4 kB / 1.194 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008602/0.9854, allocations: 465.9 kB / 1.194 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9855, allocations: 8.141 kB / 1.195 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.9855, allocations: 4 kB / 1.195 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.9862, allocations: 155.8 kB / 1.195 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.9862, allocations: 0 / 1.195 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.9868, allocations: 99.97 kB / 1.195 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.9868, allocations: 11.98 kB / 1.195 GB, free: 2.488 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.0001502/0.987, allocations: 108.9 kB / 1.195 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002728/0.9897, allocations: 1.046 MB / 1.196 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.9898, allocations: 35.61 kB / 1.196 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.9928, allocations: 1.11 MB / 1.197 GB, free: 164 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.9929, allocations: 0 / 1.197 GB, free: 164 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.9929, allocations: 10.94 kB / 1.197 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.9929, allocations: 3.984 kB / 1.197 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.9966, allocations: 1.706 MB / 1.199 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9966, allocations: 0 / 1.199 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.997, allocations: 85.39 kB / 1.199 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/0.9994, allocations: 0.6142 MB / 1.199 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.9995, allocations: 7.984 kB / 1.199 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005133/1.005, allocations: 4.217 MB / 1.203 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.005, allocations: 0 / 1.203 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/1.007, allocations: 1.16 MB / 1.205 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/1.008, allocations: 172.7 kB / 1.205 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/1.008, allocations: 0 / 1.205 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/1.008, allocations: 107.8 kB / 1.205 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.009, allocations: 27.91 kB / 1.205 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/1.009, allocations: 8 kB / 1.205 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003252/1.009, allocations: 268.5 kB / 1.205 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.1e-07/1.009, allocations: 0 / 1.205 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000835/1.01, allocations: 187.9 kB / 1.205 GB, free: 7.246 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.003449/1.013, allocations: 1.98 MB / 1.207 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.015, allocations: 0.9728 MB / 1.208 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.015, allocations: 0 / 1.208 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008234/1.016, allocations: 0.5586 MB / 1.209 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/1.016, allocations: 104.5 kB / 1.209 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.018, allocations: 0.8755 MB / 1.21 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/1.019, allocations: 0.925 MB / 1.211 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006844/1.019, allocations: 223 kB / 1.211 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/1.02, allocations: 131.4 kB / 1.211 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/1.02, allocations: 0 / 1.211 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/1.061, allocations: 13.58 MB / 1.224 GB, free: 3.938 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003112/1.062, allocations: 152.9 kB / 1.224 GB, free: 3.742 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.427, allocations: 6.078 kB / 1.224 GB, free: 3.738 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)