Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.622/2.622, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001548/0.001548, allocations: 186.9 kB / 370.8 MB, free: 10.87 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.117/2.117, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.001119/0.001118, allocations: 84.05 kB / 0.7428 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004822, allocations: 11.08 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2054, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9887/1.194, allocations: 161.1 MB / 1.136 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/1.195, allocations: 98.91 kB / 1.136 GB, free: 15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1316/1.326, allocations: 36.99 MB / 1.172 GB, free: 6.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/1.326, allocations: 0 / 1.172 GB, free: 6.973 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.451e-05/1.326, allocations: 16 kB / 1.172 GB, free: 6.957 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002264/1.329, allocations: 0.9441 MB / 1.173 GB, free: 6.012 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.329, allocations: 12.02 kB / 1.173 GB, free: 6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/1.329, allocations: 120.9 kB / 1.173 GB, free: 5.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/1.331, allocations: 225.9 kB / 1.173 GB, free: 5.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/1.333, allocations: 0.5286 MB / 1.174 GB, free: 5.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/1.333, allocations: 46.86 kB / 1.174 GB, free: 5.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/1.333, allocations: 69.05 kB / 1.174 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/1.335, allocations: 1.084 MB / 1.175 GB, free: 4.125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/1.335, allocations: 15.83 kB / 1.175 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.335, allocations: 36.8 kB / 1.175 GB, free: 4.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/1.335, allocations: 55.91 kB / 1.175 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/1.337, allocations: 0.6908 MB / 1.176 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008253/1.345, allocations: 5.767 MB / 1.181 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.347, allocations: 0.5996 MB / 1.182 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/1.347, allocations: 4 kB / 1.182 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.347, allocations: 38.5 kB / 1.182 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=41): time 3.587e-06/1.347, allocations: 0 / 1.182 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.006892/1.354, allocations: 1.904 MB / 1.184 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/1.354, allocations: 67.41 kB / 1.184 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/1.355, allocations: 392.6 kB / 1.184 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/1.355, allocations: 29.2 kB / 1.184 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/1.355, allocations: 377.3 kB / 1.185 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/1.355, allocations: 147.4 kB / 1.185 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/1.355, allocations: 10.38 kB / 1.185 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.356, allocations: 359.6 kB / 1.185 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/1.356, allocations: 230.1 kB / 1.185 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/1.357, allocations: 418.3 kB / 1.186 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/1.358, allocations: 291 kB / 1.186 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.358, allocations: 0 / 1.186 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003097/1.361, allocations: 0.959 MB / 1.187 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.361, allocations: 11.94 kB / 1.187 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.361, allocations: 4 kB / 1.187 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/1.362, allocations: 264.9 kB / 1.187 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/1.363, allocations: 99.56 kB / 1.187 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009657/1.373, allocations: 6.752 MB / 1.194 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/1.373, allocations: 31.48 kB / 1.194 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/1.374, allocations: 31.73 kB / 1.194 GB, free: 2.184 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005372/1.374, allocations: 242.3 kB / 1.194 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/1.374, allocations: 59.72 kB / 1.194 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/1.377, allocations: 0.8326 MB / 1.195 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.377, allocations: 4 kB / 1.195 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.377, allocations: 7.984 kB / 1.195 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/1.377, allocations: 4 kB / 1.195 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/1.382, allocations: 1.732 MB / 1.197 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.382, allocations: 4 kB / 1.197 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/1.382, allocations: 51.89 kB / 1.197 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/1.383, allocations: 246.2 kB / 1.197 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/1.384, allocations: 11.89 kB / 1.197 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009089/1.393, allocations: 6.459 MB / 1.203 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.393, allocations: 7.938 kB / 1.203 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.395, allocations: 0.9708 MB / 1.204 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/1.396, allocations: 169.3 kB / 1.204 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.396, allocations: 15.42 kB / 1.204 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/1.396, allocations: 19.11 kB / 1.204 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/1.397, allocations: 38.81 kB / 1.205 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/1.397, allocations: 19.95 kB / 1.205 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005162/1.397, allocations: 305.1 kB / 1.205 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/1.397, allocations: 0 / 1.205 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00111/1.398, allocations: 195.2 kB / 1.205 GB, free: 7.754 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003097/1.401, allocations: 1.938 MB / 1.207 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002739/1.404, allocations: 1.117 MB / 1.208 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.404, allocations: 0 / 1.208 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/1.406, allocations: 0.7982 MB / 1.209 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/1.408, allocations: 175.2 kB / 1.209 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.418, allocations: 7.764 MB / 1.217 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/1.419, allocations: 0.9977 MB / 1.217 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005801/1.42, allocations: 105 kB / 1.218 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/1.42, allocations: 225.2 kB / 1.218 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/1.42, allocations: 4 kB / 1.218 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05612/1.476, allocations: 13.96 MB / 1.231 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003737/1.477, allocations: 216.5 kB / 1.232 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/4.333, allocations: 4 kB / 1.232 GB, free: 13.68 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)