Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 183.5 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 93.55 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 9.469 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2566, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.4572, allocations: 147.5 MB / 1.044 GB, free: 12.08 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/0.4576, allocations: 99.92 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6143/1.072, allocations: 29.64 MB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/1.072, allocations: 0 / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.426e-05/1.072, allocations: 20.47 kB / 1.073 GB, free: 148 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.002119/1.074, allocations: 0.8481 MB / 1.074 GB, free: 147.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.074, allocations: 9.062 kB / 1.074 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002585/1.075, allocations: 105.6 kB / 1.074 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/1.076, allocations: 209.6 kB / 1.074 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.077, allocations: 490.1 kB / 1.075 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/1.078, allocations: 33.44 kB / 1.075 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/1.078, allocations: 43.25 kB / 1.075 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/1.079, allocations: 0.9237 MB / 1.076 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/1.079, allocations: 7.5 kB / 1.076 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/1.079, allocations: 25.64 kB / 1.076 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/1.079, allocations: 54.73 kB / 1.076 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/1.08, allocations: 0.5636 MB / 1.076 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/1.085, allocations: 5.676 MB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/1.086, allocations: 452.9 kB / 1.082 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/1.086, allocations: 7.359 kB / 1.082 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/1.086, allocations: 39.47 kB / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 4.548e-06/1.086, allocations: 3.984 kB / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002796/1.089, allocations: 1.496 MB / 1.084 GB, free: 140.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/1.089, allocations: 54.28 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/1.089, allocations: 436.3 kB / 1.084 GB, free: 140.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/1.09, allocations: 31.86 kB / 1.084 GB, free: 140.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/1.09, allocations: 337.7 kB / 1.085 GB, free: 140 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/1.09, allocations: 120.1 kB / 1.085 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/1.09, allocations: 10 kB / 1.085 GB, free: 139.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.09, allocations: 370.3 kB / 1.085 GB, free: 139.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/1.09, allocations: 188 kB / 1.085 GB, free: 139.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/1.091, allocations: 412.5 kB / 1.086 GB, free: 139.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/1.091, allocations: 253 kB / 1.086 GB, free: 139.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.091, allocations: 2.219 kB / 1.086 GB, free: 139.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001494/1.093, allocations: 0.7678 MB / 1.087 GB, free: 138.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.093, allocations: 8.438 kB / 1.087 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.093, allocations: 7 kB / 1.087 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/1.093, allocations: 154.5 kB / 1.087 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/1.094, allocations: 114.5 kB / 1.087 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/1.097, allocations: 4.052 MB / 1.091 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.098, allocations: 31.75 kB / 1.091 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/1.098, allocations: 36.05 kB / 1.091 GB, free: 134.9 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.0004103/1.098, allocations: 205.6 kB / 1.091 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/1.098, allocations: 61.06 kB / 1.091 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/1.1, allocations: 0.5992 MB / 1.092 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.1, allocations: 3.875 kB / 1.092 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.1, allocations: 1.219 kB / 1.092 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.1, allocations: 7.938 kB / 1.092 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/1.102, allocations: 1.257 MB / 1.093 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.102, allocations: 0 / 1.093 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/1.102, allocations: 58.11 kB / 1.093 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/1.102, allocations: 150.7 kB / 1.093 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/1.102, allocations: 7.469 kB / 1.093 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/1.105, allocations: 4.054 MB / 1.097 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.105, allocations: 3.688 kB / 1.097 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.106, allocations: 0.7911 MB / 1.098 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/1.106, allocations: 171.2 kB / 1.098 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/1.107, allocations: 7.531 kB / 1.098 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/1.107, allocations: 22.19 kB / 1.098 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/1.107, allocations: 31.61 kB / 1.098 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/1.107, allocations: 15.81 kB / 1.098 GB, free: 129.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003893/1.107, allocations: 331.2 kB / 1.099 GB, free: 128.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/1.107, allocations: 3.656 kB / 1.099 GB, free: 128.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008681/1.108, allocations: 145.5 kB / 1.099 GB, free: 128.8 MB / 0.698 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.00165/1.11, allocations: 1.83 MB / 1.101 GB, free: 127.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001758/1.112, allocations: 1.016 MB / 1.102 GB, free: 126.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.112, allocations: 0 / 1.102 GB, free: 126.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009375/1.113, allocations: 0.7279 MB / 1.102 GB, free: 125.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/1.114, allocations: 182 kB / 1.103 GB, free: 125.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/1.12, allocations: 8.208 MB / 1.111 GB, free: 118.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/1.121, allocations: 0.9188 MB / 1.111 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004126/1.121, allocations: 114.1 kB / 1.112 GB, free: 117.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/1.121, allocations: 194.3 kB / 1.112 GB, free: 117.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.121, allocations: 0 / 1.112 GB, free: 117.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/1.146, allocations: 12.1 MB / 1.124 GB, free: 105.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/1.147, allocations: 221.8 kB / 1.124 GB, free: 105.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.538, allocations: 4.062 kB / 1.124 GB, free: 105.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)