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.573/1.573, allocations: 249.3 MB / 261.9 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 186.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008707/0.0008707, allocations: 86.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.483e-05/3.494e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.232, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.763/0.995, allocations: 147.4 MB / 1.036 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/0.9955, allocations: 95.92 kB / 1.036 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07071/1.066, allocations: 29.47 MB / 1.065 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.433e-06/1.066, allocations: 0 / 1.065 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.462e-05/1.066, allocations: 23.98 kB / 1.065 GB, free: 11.8 MB / 0.6823 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.001207/1.068, allocations: 0.7681 MB / 1.066 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/1.068, allocations: 16.02 kB / 1.066 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/1.068, allocations: 90.38 kB / 1.066 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/1.069, allocations: 203 kB / 1.066 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/1.07, allocations: 481.3 kB / 1.066 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/1.07, allocations: 40.73 kB / 1.066 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-05/1.07, allocations: 53.5 kB / 1.066 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.071, allocations: 0.9122 MB / 1.067 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.071, allocations: 11.75 kB / 1.067 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/1.071, allocations: 22.25 kB / 1.067 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-05/1.071, allocations: 55.44 kB / 1.067 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/1.072, allocations: 0.5537 MB / 1.068 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/1.076, allocations: 5.659 MB / 1.073 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/1.077, allocations: 455.5 kB / 1.074 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/1.077, allocations: 225.3 kB / 1.074 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/1.077, allocations: 4 kB / 1.074 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.077, allocations: 37.77 kB / 1.074 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.966e-06/1.077, allocations: 0 / 1.074 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001571/1.079, allocations: 0.8422 MB / 1.075 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.079, allocations: 55.41 kB / 1.075 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/1.079, allocations: 425.6 kB / 1.075 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/1.079, allocations: 33.39 kB / 1.075 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/1.08, allocations: 338.3 kB / 1.076 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/1.08, allocations: 123 kB / 1.076 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/1.08, allocations: 10.62 kB / 1.076 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.08, allocations: 364.5 kB / 1.076 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/1.08, allocations: 182.3 kB / 1.076 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/1.08, allocations: 408.1 kB / 1.077 GB, free: 316 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/1.081, allocations: 257.7 kB / 1.077 GB, free: 128 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.081, allocations: 4 kB / 1.077 GB, free: 124 kB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001142/1.082, allocations: 0.7567 MB / 1.078 GB, free: 15.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.082, allocations: 8 kB / 1.078 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.082, allocations: 8 kB / 1.078 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/1.083, allocations: 151.1 kB / 1.078 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/1.083, allocations: 118.7 kB / 1.078 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/1.086, allocations: 4.03 MB / 1.082 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/1.087, allocations: 33.72 kB / 1.082 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/1.087, allocations: 31.31 kB / 1.082 GB, free: 10.93 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 () * 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.0001515/1.087, allocations: 142.4 kB / 1.082 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/1.087, allocations: 55.34 kB / 1.082 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/1.088, allocations: 0.5961 MB / 1.083 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/1.088, allocations: 4 kB / 1.083 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.088, allocations: 7.953 kB / 1.083 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.088, allocations: 11.86 kB / 1.083 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/1.09, allocations: 1.249 MB / 1.084 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.09, allocations: 4 kB / 1.084 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/1.09, allocations: 47.95 kB / 1.084 GB, free: 9.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/1.09, allocations: 152.3 kB / 1.084 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.09, allocations: 8 kB / 1.084 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/1.093, allocations: 4.013 MB / 1.088 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.094, allocations: 8.188 kB / 1.088 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.095, allocations: 0.7861 MB / 1.089 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/1.095, allocations: 168.3 kB / 1.089 GB, free: 3.363 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/1.095, allocations: 8 kB / 1.089 GB, free: 3.355 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/1.095, allocations: 27.91 kB / 1.089 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/1.095, allocations: 31.95 kB / 1.089 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/1.095, allocations: 8 kB / 1.089 GB, free: 3.289 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004096/1.096, allocations: 329.5 kB / 1.089 GB, free: 2.969 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/1.096, allocations: 0 / 1.089 GB, free: 2.969 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006737/1.097, allocations: 144 kB / 1.09 GB, free: 2.828 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 () * 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.001578/1.098, allocations: 1.821 MB / 1.091 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001483/1.1, allocations: 1.008 MB / 1.092 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.1, allocations: 1 kB / 1.092 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000852/1.1, allocations: 0.7301 MB / 1.093 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/1.101, allocations: 183.1 kB / 1.093 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/1.103, allocations: 0.869 MB / 1.094 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/1.104, allocations: 0.9219 MB / 1.095 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004221/1.104, allocations: 117.1 kB / 1.095 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/1.105, allocations: 199.8 kB / 1.095 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.105, allocations: 0 / 1.095 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/1.134, allocations: 12.01 MB / 1.107 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.135, allocations: 191.2 kB / 1.107 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.395, allocations: 0 / 1.107 GB, free: 0.6328 MB / 0.7136 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)