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.809/1.809, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001205/0.001205, allocations: 173.1 kB / 377.1 MB, free: 1.539 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.587/1.587, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.0009758/0.0009758, allocations: 96.14 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003971, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2945, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8502/1.145, allocations: 182.9 MB / 1.167 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.145, allocations: 106.7 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0736/1.219, allocations: 28.8 MB / 1.195 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.003e-06/1.219, allocations: 4 kB / 1.195 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.912e-05/1.219, allocations: 7.984 kB / 1.195 GB, free: 2.539 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.001483/1.22, allocations: 0.7494 MB / 1.196 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.22, allocations: 16.02 kB / 1.196 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/1.221, allocations: 76.58 kB / 1.196 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/1.223, allocations: 0.5787 MB / 1.197 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009922/1.224, allocations: 474.5 kB / 1.197 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/1.224, allocations: 24.09 kB / 1.197 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/1.224, allocations: 31.98 kB / 1.197 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/1.226, allocations: 0.7553 MB / 1.198 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/1.226, allocations: 7.938 kB / 1.198 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/1.226, allocations: 11.91 kB / 1.198 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/1.226, allocations: 24.64 kB / 1.198 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/1.228, allocations: 0.8531 MB / 1.199 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/1.232, allocations: 2.858 MB / 1.202 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.234, allocations: 0.5214 MB / 1.202 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/1.234, allocations: 85.11 kB / 1.202 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.234, allocations: 42.55 kB / 1.202 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/1.234, allocations: 0 / 1.202 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.009883/1.244, allocations: 2.948 MB / 1.205 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/1.244, allocations: 81.11 kB / 1.205 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/1.244, allocations: 376.7 kB / 1.206 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/1.244, allocations: 29.7 kB / 1.206 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/1.245, allocations: 235.9 kB / 1.206 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/1.245, allocations: 86.73 kB / 1.206 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/1.245, allocations: 8 kB / 1.206 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.245, allocations: 346.8 kB / 1.206 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/1.246, allocations: 359.7 kB / 1.207 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009011/1.247, allocations: 448.2 kB / 1.207 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/1.248, allocations: 392.9 kB / 1.207 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.248, allocations: 0 / 1.207 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004196/1.252, allocations: 1.414 MB / 1.209 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005086/1.252, allocations: 0.7901 MB / 1.209 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.252, allocations: 0 / 1.209 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/1.256, allocations: 0.6999 MB / 1.21 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/1.256, allocations: 135.8 kB / 1.21 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/1.261, allocations: 3.242 MB / 1.213 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007839/1.261, allocations: 115.9 kB / 1.214 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/1.262, allocations: 21.98 kB / 1.214 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.262, allocations: 5.562 kB / 1.214 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003695/1.265, allocations: 1.148 MB / 1.215 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.265, allocations: 5.672 kB / 1.215 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/1.267, allocations: 460.3 kB / 1.215 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/1.268, allocations: 147.8 kB / 1.215 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/1.272, allocations: 2.534 MB / 1.218 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/1.272, allocations: 111.8 kB / 1.218 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/1.272, allocations: 17.8 kB / 1.218 GB, free: 10.49 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 () * Number of clocked 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.0005162/1.273, allocations: 314.1 kB / 1.218 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/1.273, allocations: 39.58 kB / 1.218 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/1.277, allocations: 1.315 MB / 1.22 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.277, allocations: 4 kB / 1.22 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.277, allocations: 0 / 1.22 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.277, allocations: 3.984 kB / 1.22 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/1.282, allocations: 1.987 MB / 1.221 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.282, allocations: 4 kB / 1.221 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/1.282, allocations: 85.58 kB / 1.222 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/1.285, allocations: 0.6883 MB / 1.222 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/1.285, allocations: 8 kB / 1.222 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005733/1.291, allocations: 4.569 MB / 1.227 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.291, allocations: 4.031 kB / 1.227 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/1.295, allocations: 1.368 MB / 1.228 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/1.295, allocations: 172.6 kB / 1.228 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/1.295, allocations: 8 kB / 1.228 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/1.296, allocations: 91.86 kB / 1.228 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.296, allocations: 19.97 kB / 1.228 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/1.296, allocations: 11.98 kB / 1.228 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004146/1.296, allocations: 315.1 kB / 1.229 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/1.296, allocations: 0 / 1.229 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009114/1.297, allocations: 215.9 kB / 1.229 GB, free: 14.88 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 () * Number of clocked 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.004345/1.302, allocations: 2.188 MB / 1.231 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003495/1.305, allocations: 1.508 MB / 1.232 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.305, allocations: 0 / 1.232 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/1.306, allocations: 0.6653 MB / 1.233 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/1.307, allocations: 122.7 kB / 1.233 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/1.316, allocations: 5.257 MB / 1.238 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/1.316, allocations: 0.9216 MB / 1.239 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005924/1.317, allocations: 149.8 kB / 1.239 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/1.317, allocations: 139.4 kB / 1.24 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/1.317, allocations: 0 / 1.24 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/1.351, allocations: 15.88 MB / 1.255 GB, free: 4.027 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.352, allocations: 219.6 kB / 1.255 GB, free: 3.789 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.774, allocations: 4 kB / 1.255 GB, free: 3.785 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)