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.772/1.772, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001485/0.001485, allocations: 181.8 kB / 371.6 MB, free: 3.355 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.631/1.631, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008918/0.0008918, allocations: 90.67 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.317e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2561, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8255/1.082, allocations: 182.8 MB / 1.158 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.082, allocations: 101.1 kB / 1.159 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07166/1.154, allocations: 28.67 MB / 1.187 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.153e-06/1.154, allocations: 0 / 1.187 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.94e-05/1.154, allocations: 8 kB / 1.187 GB, free: 7.926 MB / 0.7605 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.001652/1.155, allocations: 0.6969 MB / 1.187 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/1.156, allocations: 12.03 kB / 1.187 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/1.156, allocations: 70.77 kB / 1.187 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/1.159, allocations: 0.5742 MB / 1.188 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.16, allocations: 469.5 kB / 1.188 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/1.16, allocations: 23.84 kB / 1.188 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/1.16, allocations: 35.8 kB / 1.188 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/1.161, allocations: 0.5814 MB / 1.189 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.161, allocations: 0 / 1.189 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/1.161, allocations: 22.73 kB / 1.189 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/1.161, allocations: 28.7 kB / 1.189 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008657/1.162, allocations: 0.5082 MB / 1.189 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/1.166, allocations: 2.855 MB / 1.192 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/1.167, allocations: 351 kB / 1.193 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/1.167, allocations: 166.2 kB / 1.193 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/1.167, allocations: 85.05 kB / 1.193 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.167, allocations: 38.56 kB / 1.193 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 5.19e-06/1.167, allocations: 0 / 1.193 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.006217/1.173, allocations: 2.038 MB / 1.195 GB, free: 356 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/1.174, allocations: 77.11 kB / 1.195 GB, free: 260 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/1.174, allocations: 372.8 kB / 1.195 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/1.174, allocations: 29.02 kB / 1.195 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/1.174, allocations: 245.5 kB / 1.196 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/1.174, allocations: 77.14 kB / 1.196 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/1.174, allocations: 13.25 kB / 1.196 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.175, allocations: 341.7 kB / 1.196 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/1.175, allocations: 245.5 kB / 1.196 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/1.175, allocations: 329.5 kB / 1.197 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/1.176, allocations: 274.6 kB / 1.197 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.176, allocations: 0 / 1.197 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002934/1.179, allocations: 1.147 MB / 1.198 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003981/1.179, allocations: 0.7869 MB / 1.199 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.179, allocations: 4 kB / 1.199 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/1.182, allocations: 0.6337 MB / 1.199 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/1.182, allocations: 131.8 kB / 1.199 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/1.187, allocations: 3.123 MB / 1.202 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/1.188, allocations: 107.4 kB / 1.203 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/1.188, allocations: 19.42 kB / 1.203 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.188, allocations: 4 kB / 1.203 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002268/1.19, allocations: 0.8848 MB / 1.203 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.19, allocations: 5.172 kB / 1.203 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/1.192, allocations: 391.6 kB / 1.204 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/1.192, allocations: 150.8 kB / 1.204 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/1.195, allocations: 2.393 MB / 1.206 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/1.196, allocations: 107.2 kB / 1.206 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/1.196, allocations: 15.92 kB / 1.206 GB, free: 5.875 MB / 0.7761 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.00017/1.196, allocations: 124.6 kB / 1.207 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/1.197, allocations: 35.58 kB / 1.207 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/1.2, allocations: 1.123 MB / 1.208 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/1.2, allocations: 7.938 kB / 1.208 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.2, allocations: 0 / 1.208 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.2, allocations: 7.984 kB / 1.208 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/1.204, allocations: 1.787 MB / 1.209 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.204, allocations: 4 kB / 1.209 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/1.204, allocations: 83.52 kB / 1.21 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/1.206, allocations: 0.6253 MB / 1.21 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/1.206, allocations: 7.438 kB / 1.21 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005612/1.212, allocations: 4.376 MB / 1.214 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.212, allocations: 0 / 1.214 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/1.215, allocations: 1.17 MB / 1.216 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/1.215, allocations: 171 kB / 1.216 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.216, allocations: 7.812 kB / 1.216 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/1.216, allocations: 91.73 kB / 1.216 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.216, allocations: 31.59 kB / 1.216 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/1.216, allocations: 4 kB / 1.216 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005297/1.217, allocations: 308 kB / 1.216 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/1.217, allocations: 0 / 1.216 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001128/1.218, allocations: 217 kB / 1.216 GB, free: 12.91 MB / 0.7917 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.003721/1.222, allocations: 1.993 MB / 1.218 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002295/1.224, allocations: 1.204 MB / 1.219 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.224, allocations: 0 / 1.219 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009259/1.225, allocations: 0.5862 MB / 1.22 GB, free: 9.633 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/1.226, allocations: 108.4 kB / 1.22 GB, free: 9.547 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/1.228, allocations: 0.8992 MB / 1.221 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/1.229, allocations: 0.9239 MB / 1.222 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007552/1.229, allocations: 223.8 kB / 1.222 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.23, allocations: 132.6 kB / 1.222 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of SimCode: time 7.11e-07/1.23, allocations: 0 / 1.222 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/1.264, allocations: 16.19 MB / 1.238 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.264, allocations: 190.5 kB / 1.238 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.644, allocations: 0 / 1.238 GB, free: 7.375 MB / 0.8073 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)