Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.727/2.727, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001541/0.00154, allocations: 183.2 kB / 370.8 MB, free: 10.85 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.122/2.122, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001153/0.001152, allocations: 98.23 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007319/0.000732, allocations: 12.03 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2383, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.345, allocations: 153.7 MB / 1.128 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/1.346, allocations: 91.2 kB / 1.128 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1524/1.498, allocations: 29.63 MB / 1.157 GB, free: 19.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/1.498, allocations: 4 kB / 1.157 GB, free: 19.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.758e-05/1.498, allocations: 19.59 kB / 1.157 GB, free: 19.14 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0019/1.5, allocations: 0.8597 MB / 1.158 GB, free: 18.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/1.5, allocations: 12.02 kB / 1.158 GB, free: 18.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/1.5, allocations: 95.95 kB / 1.158 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/1.502, allocations: 206.6 kB / 1.159 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/1.504, allocations: 487.9 kB / 1.159 GB, free: 17.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.009e-05/1.504, allocations: 33.89 kB / 1.159 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/1.504, allocations: 45.33 kB / 1.159 GB, free: 17.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/1.506, allocations: 0.9242 MB / 1.16 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/1.506, allocations: 7.938 kB / 1.16 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/1.506, allocations: 29.33 kB / 1.16 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/1.506, allocations: 56.39 kB / 1.16 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.507, allocations: 0.5662 MB / 1.161 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006975/1.514, allocations: 5.66 MB / 1.166 GB, free: 10.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.515, allocations: 452.7 kB / 1.167 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/1.515, allocations: 0 / 1.167 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.515, allocations: 46 kB / 1.167 GB, free: 10.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/1.515, allocations: 0 / 1.167 GB, free: 10.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.004326/1.52, allocations: 1.505 MB / 1.168 GB, free: 8.754 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/1.52, allocations: 59.34 kB / 1.168 GB, free: 8.684 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008019/1.521, allocations: 432 kB / 1.169 GB, free: 8.336 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/1.521, allocations: 29.2 kB / 1.169 GB, free: 8.305 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/1.521, allocations: 348.9 kB / 1.169 GB, free: 8.051 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/1.521, allocations: 115.8 kB / 1.169 GB, free: 7.953 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/1.521, allocations: 9.5 kB / 1.169 GB, free: 7.953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.522, allocations: 366.5 kB / 1.169 GB, free: 7.609 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/1.522, allocations: 187.3 kB / 1.17 GB, free: 7.484 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/1.523, allocations: 408.8 kB / 1.17 GB, free: 7.062 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/1.523, allocations: 251.9 kB / 1.17 GB, free: 6.906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/1.523, allocations: 0 / 1.17 GB, free: 6.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002157/1.525, allocations: 0.7633 MB / 1.171 GB, free: 6.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/1.526, allocations: 13.23 kB / 1.171 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.526, allocations: 8 kB / 1.171 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008281/1.526, allocations: 162.5 kB / 1.171 GB, free: 6.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008595/1.527, allocations: 111.1 kB / 1.171 GB, free: 6.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00465/1.532, allocations: 4.062 MB / 1.175 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/1.533, allocations: 35.25 kB / 1.175 GB, free: 1.727 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/1.533, allocations: 27.38 kB / 1.175 GB, free: 1.703 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004636/1.533, allocations: 207.8 kB / 1.175 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.534, allocations: 63.25 kB / 1.176 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/1.535, allocations: 0.598 MB / 1.176 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.535, allocations: 4 kB / 1.176 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.852e-06/1.535, allocations: 0 / 1.176 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.535, allocations: 7.938 kB / 1.176 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/1.539, allocations: 1.252 MB / 1.177 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.539, allocations: 3.938 kB / 1.177 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/1.539, allocations: 55.83 kB / 1.177 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/1.54, allocations: 151.5 kB / 1.178 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/1.54, allocations: 7.5 kB / 1.178 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004618/1.545, allocations: 4.058 MB / 1.182 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.545, allocations: 0 / 1.182 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/1.547, allocations: 0.7872 MB / 1.182 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/1.547, allocations: 169.1 kB / 1.182 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.547, allocations: 11.75 kB / 1.182 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/1.548, allocations: 22.84 kB / 1.182 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.548, allocations: 27.78 kB / 1.183 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/1.548, allocations: 12 kB / 1.183 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005709/1.548, allocations: 330.9 kB / 1.183 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.548, allocations: 0 / 1.183 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001006/1.549, allocations: 154.1 kB / 1.183 GB, free: 10.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002362/1.552, allocations: 1.817 MB / 1.185 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002268/1.554, allocations: 1.032 MB / 1.186 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.554, allocations: 0 / 1.186 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/1.556, allocations: 0.7347 MB / 1.186 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.557, allocations: 171.1 kB / 1.187 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/1.567, allocations: 8.204 MB / 1.195 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/1.568, allocations: 0.9167 MB / 1.196 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007047/1.569, allocations: 121.1 kB / 1.196 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/1.569, allocations: 199.8 kB / 1.196 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/1.569, allocations: 0 / 1.196 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/1.627, allocations: 12.07 MB / 1.208 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003059/1.628, allocations: 218.4 kB / 1.208 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/4.752, allocations: 0 / 1.208 GB, free: 1.43 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)