Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 195.9 kB / 16.14 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 66.23 kB / 0.6709 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1914, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004919/0.1963, allocations: 3.792 MB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1989, allocations: 1.833 MB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1991, allocations: 15.88 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007272/0.1998, allocations: 251 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.2003, allocations: 278.7 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.2008, allocations: 226.4 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.2015, allocations: 0.7413 MB / 0.7898 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.2019, allocations: 257.9 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.2022, allocations: 211 kB / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.2025, allocations: 231 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.2026, allocations: 20 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004936/0.2031, allocations: 339.3 kB / 0.7908 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2032, allocations: 115.6 kB / 0.7909 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.2034, allocations: 202.8 kB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.204, allocations: 0.592 MB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.204, allocations: 0 / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.01e-07/0.204, allocations: 0 / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.204, allocations: 0 / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001063/0.2051, allocations: 0.7402 MB / 0.7924 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2051, allocations: 12.03 kB / 0.7924 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.392e-05/0.2052, allocations: 70.72 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/0.206, allocations: 132.2 kB / 0.7926 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.2065, allocations: 371.7 kB / 0.7929 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.2065, allocations: 25.02 kB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.2066, allocations: 36.22 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.2073, allocations: 0.547 MB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2074, allocations: 0 / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.2074, allocations: 19.98 kB / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.2075, allocations: 48.53 kB / 0.7936 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.2081, allocations: 409.7 kB / 0.794 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.2106, allocations: 3.341 MB / 0.7972 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.2112, allocations: 339 kB / 0.7976 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.2115, allocations: 184.7 kB / 0.7977 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.2116, allocations: 0 / 0.7977 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.2116, allocations: 34.56 kB / 0.7978 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.2116, allocations: 0 / 0.7978 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.001873/0.2135, allocations: 1.062 MB / 0.7988 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2135, allocations: 55.64 kB / 0.7989 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.2138, allocations: 337.6 kB / 0.7992 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2139, allocations: 29.7 kB / 0.7992 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.214, allocations: 247.5 kB / 0.7994 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.2141, allocations: 94.59 kB / 0.7995 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.2142, allocations: 82.03 kB / 0.7996 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2143, allocations: 346.8 kB / 0.7999 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.2146, allocations: 148.8 kB / 0.8001 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.2149, allocations: 290.5 kB / 0.8004 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.2155, allocations: 485.7 kB / 0.8008 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2155, allocations: 4 kB / 0.8008 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008975/0.2164, allocations: 0.5541 MB / 0.8014 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2165, allocations: 11.98 kB / 0.8014 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2165, allocations: 4 kB / 0.8014 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.2168, allocations: 90.45 kB / 0.8015 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.2171, allocations: 88.22 kB / 0.8016 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.2171, allocations: 19.88 kB / 0.8016 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.2174, allocations: 23.97 kB / 0.8016 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.2174, allocations: 20 kB / 0.8016 GB, free: 9.898 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.2176, allocations: 169.7 kB / 0.8018 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.2177, allocations: 47.45 kB / 0.8018 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/0.2185, allocations: 476.1 kB / 0.8023 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2185, allocations: 4 kB / 0.8023 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2186, allocations: 0 / 0.8023 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2186, allocations: 0 / 0.8023 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.2199, allocations: 0.9654 MB / 0.8032 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2199, allocations: 0 / 0.8032 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.2201, allocations: 55.89 kB / 0.8033 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.2203, allocations: 82.5 kB / 0.8034 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.2204, allocations: 8.094 kB / 0.8034 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2204, allocations: 4 kB / 0.8034 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2204, allocations: 0 / 0.8034 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.2211, allocations: 0.5389 MB / 0.8039 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.2213, allocations: 140.6 kB / 0.804 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.2213, allocations: 8 kB / 0.804 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2215, allocations: 31.84 kB / 0.8041 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.2216, allocations: 27.91 kB / 0.8041 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2216, allocations: 4 kB / 0.8041 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001998/0.2218, allocations: 235.2 kB / 0.8043 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2219, allocations: 4 kB / 0.8043 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003834/0.2222, allocations: 88 kB / 0.8044 GB, free: 6.879 MB / 0.6231 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009904/0.2232, allocations: 1.084 MB / 0.8055 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007631/0.224, allocations: 0.6433 MB / 0.8061 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.224, allocations: 0 / 0.8061 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.2244, allocations: 431.2 kB / 0.8065 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.2251, allocations: 112.9 kB / 0.8066 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.2294, allocations: 3.883 MB / 0.8104 GB, free: 328 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.2298, allocations: 0.8231 MB / 0.8112 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.23, allocations: 83.34 kB / 0.8113 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.2302, allocations: 127.4 kB / 0.8114 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.2302, allocations: 0 / 0.8114 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.2497, allocations: 7.884 MB / 0.8191 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/0.25, allocations: 236.4 kB / 0.8193 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.145, allocations: 0 / 0.8193 GB, free: 7.344 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)