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.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 251.5 MB / 266.7 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.0009941/0.0009941, allocations: 175.2 kB / 325.8 MB, free: 2.672 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.477/1.477, allocations: 205 MB / 0.576 GB, free: 20.93 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.0007619/0.0007619, allocations: 80.02 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004009, allocations: 8.844 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.002994/0.1613, allocations: 3.468 MB / 0.8996 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1633, allocations: 1.856 MB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1635, allocations: 15.88 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.1641, allocations: 239 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.1645, allocations: 282.7 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1648, allocations: 215.6 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.1653, allocations: 0.7336 MB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.1656, allocations: 253.9 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1658, allocations: 207 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.166, allocations: 227 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.1661, allocations: 12 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.1664, allocations: 331.3 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.1665, allocations: 103.6 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1666, allocations: 194.8 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.167, allocations: 0.5877 MB / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.167, allocations: 4 kB / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/0.167, allocations: 0 / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.1671, allocations: 0 / 0.9047 GB, free: 59.33 MB / 0.6042 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.0007478/0.1678, allocations: 0.6623 MB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1678, allocations: 12.03 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.1679, allocations: 70.7 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007605/0.1687, allocations: 136.2 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.169, allocations: 371.6 kB / 0.9059 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.169, allocations: 25.02 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.1691, allocations: 32.38 kB / 0.906 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.1697, allocations: 0.5587 MB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1697, allocations: 0 / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.1697, allocations: 12 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.1698, allocations: 52.45 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.1703, allocations: 417.8 kB / 0.907 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.1722, allocations: 3.341 MB / 0.9102 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.1727, allocations: 334.5 kB / 0.9105 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.173, allocations: 180.8 kB / 0.9107 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.173, allocations: 8 kB / 0.9107 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.173, allocations: 34.56 kB / 0.9108 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.173, allocations: 0 / 0.9108 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001583/0.1746, allocations: 1.081 MB / 0.9118 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.1746, allocations: 55.64 kB / 0.9119 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1749, allocations: 345.5 kB / 0.9122 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1749, allocations: 29.7 kB / 0.9122 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.175, allocations: 247.6 kB / 0.9125 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.1751, allocations: 94.59 kB / 0.9125 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1751, allocations: 37.7 kB / 0.9126 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.1752, allocations: 350.8 kB / 0.9129 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.1754, allocations: 152.8 kB / 0.9131 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.1757, allocations: 294.5 kB / 0.9133 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.1762, allocations: 496.4 kB / 0.9138 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1762, allocations: 4 kB / 0.9138 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000751/0.1769, allocations: 0.5774 MB / 0.9144 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.177, allocations: 7.938 kB / 0.9144 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.177, allocations: 12 kB / 0.9144 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.1772, allocations: 91.06 kB / 0.9145 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.1775, allocations: 87.88 kB / 0.9146 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1775, allocations: 19.86 kB / 0.9146 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1778, allocations: 27.98 kB / 0.9146 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1778, allocations: 23.98 kB / 0.9146 GB, free: 48.43 MB / 0.6042 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.0001243/0.1779, allocations: 169.7 kB / 0.9148 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.178, allocations: 39.53 kB / 0.9148 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.1787, allocations: 476 kB / 0.9153 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1787, allocations: 4 kB / 0.9153 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1787, allocations: 0 / 0.9153 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1787, allocations: 3.984 kB / 0.9153 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1798, allocations: 0.9805 MB / 0.9163 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1798, allocations: 0 / 0.9163 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.18, allocations: 55.91 kB / 0.9163 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/0.1802, allocations: 82.59 kB / 0.9164 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1802, allocations: 8 kB / 0.9164 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1802, allocations: 0 / 0.9164 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1802, allocations: 3.938 kB / 0.9164 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.1809, allocations: 0.5584 MB / 0.9169 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.181, allocations: 132.7 kB / 0.9171 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.181, allocations: 11.84 kB / 0.9171 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1812, allocations: 35.91 kB / 0.9171 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.1813, allocations: 19.97 kB / 0.9171 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1813, allocations: 8 kB / 0.9171 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001463/0.1815, allocations: 235.2 kB / 0.9174 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1815, allocations: 0 / 0.9174 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003338/0.1818, allocations: 88 kB / 0.9175 GB, free: 45.39 MB / 0.6042 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.0007698/0.1826, allocations: 1.102 MB / 0.9185 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006443/0.1832, allocations: 0.651 MB / 0.9192 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1833, allocations: 4 kB / 0.9192 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.1836, allocations: 438 kB / 0.9196 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.1842, allocations: 122.1 kB / 0.9197 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.1877, allocations: 3.913 MB / 0.9235 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.188, allocations: 0.8192 MB / 0.9243 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.1882, allocations: 83.34 kB / 0.9244 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1884, allocations: 127.4 kB / 0.9245 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.1884, allocations: 4 kB / 0.9245 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4763/0.6647, allocations: 7.795 MB / 0.9321 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.665, allocations: 250.8 kB / 0.9324 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.075, allocations: 0 / 0.9324 GB, free: 29.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)