Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.458/1.458, allocations: 288.4 MB / 303.6 MB, free: 8.191 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.0008119/0.0008119, allocations: 194.9 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007621/0.0007622, allocations: 106.2 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12.34 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003005/0.1613, allocations: 3.259 MB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1635, allocations: 1.732 MB / 0.9851 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.1638, allocations: 11.94 kB / 0.9851 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1641, allocations: 63.42 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.1649, allocations: 262.7 kB / 0.9854 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.1654, allocations: 205.1 kB / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.166, allocations: 0.6438 MB / 0.9862 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005651/0.1666, allocations: 368.3 kB / 0.9866 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.167, allocations: 203.1 kB / 0.9868 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/0.1673, allocations: 215.1 kB / 0.987 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.1674, allocations: 12 kB / 0.987 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.1679, allocations: 319.3 kB / 0.9873 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.168, allocations: 111.6 kB / 0.9874 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.1682, allocations: 204.7 kB / 0.9876 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.1686, allocations: 447.1 kB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1687, allocations: 0 / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1687, allocations: 0 / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.1687, allocations: 0 / 0.988 GB, free: 19.18 MB / 0.6198 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.000949/0.1696, allocations: 0.6739 MB / 0.9887 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1697, allocations: 12.03 kB / 0.9887 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.625e-05/0.1698, allocations: 74.7 kB / 0.9887 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007549/0.1705, allocations: 132.2 kB / 0.9889 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.171, allocations: 375.6 kB / 0.9892 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.171, allocations: 21.03 kB / 0.9893 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.1711, allocations: 32.36 kB / 0.9893 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.1718, allocations: 0.5586 MB / 0.9898 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1718, allocations: 0 / 0.9898 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.1718, allocations: 20 kB / 0.9898 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-05/0.1719, allocations: 40.53 kB / 0.9899 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.1725, allocations: 409.7 kB / 0.9903 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.1743, allocations: 3.341 MB / 0.9935 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1749, allocations: 342.4 kB / 0.9939 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.1751, allocations: 184.7 kB / 0.994 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1752, allocations: 8 kB / 0.9941 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.1752, allocations: 30.56 kB / 0.9941 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.1752, allocations: 0 / 0.9941 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001654/0.1769, allocations: 1.084 MB / 0.9951 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.1769, allocations: 59.64 kB / 0.9952 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.1771, allocations: 329.6 kB / 0.9955 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1772, allocations: 33.7 kB / 0.9955 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.1773, allocations: 239.5 kB / 0.9958 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.1773, allocations: 102.6 kB / 0.9959 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.1773, allocations: 12 kB / 0.9959 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.1774, allocations: 346.8 kB / 0.9962 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.1776, allocations: 152.7 kB / 0.9964 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.1779, allocations: 290.5 kB / 0.9966 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.1784, allocations: 0.4907 MB / 0.9971 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1784, allocations: 0 / 0.9971 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007756/0.1792, allocations: 0.5617 MB / 0.9977 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1792, allocations: 9.406 kB / 0.9977 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1792, allocations: 7.938 kB / 0.9977 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.1795, allocations: 99 kB / 0.9978 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1798, allocations: 87.88 kB / 0.9979 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1798, allocations: 15.88 kB / 0.9979 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.1801, allocations: 39.88 kB / 0.9979 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1801, allocations: 16 kB / 0.9979 GB, free: 8.312 MB / 0.6198 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.1803, allocations: 181.6 kB / 0.9981 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.1803, allocations: 39.61 kB / 0.9981 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.181, allocations: 483.8 kB / 0.9986 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1811, allocations: 0 / 0.9986 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1811, allocations: 4 kB / 0.9986 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1811, allocations: 0 / 0.9986 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1821, allocations: 0.9599 MB / 0.9995 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1822, allocations: 4 kB / 0.9995 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.1824, allocations: 51.95 kB / 0.9996 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.1826, allocations: 86.55 kB / 0.9997 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.1826, allocations: 4 kB / 0.9997 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1826, allocations: 4 kB / 0.9997 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1826, allocations: 0 / 0.9997 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.1833, allocations: 0.5472 MB / 1 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1834, allocations: 144.6 kB / 1 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1834, allocations: 11.98 kB / 1 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.1837, allocations: 31.91 kB / 1 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.1837, allocations: 19.91 kB / 1 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1838, allocations: 12 kB / 1 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001536/0.1839, allocations: 231.2 kB / 1.001 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1839, allocations: 0 / 1.001 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003577/0.1843, allocations: 84 kB / 1.001 GB, free: 5.281 MB / 0.6198 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000797/0.1851, allocations: 1.107 MB / 1.002 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006632/0.1858, allocations: 0.6386 MB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1858, allocations: 0 / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.1861, allocations: 447.5 kB / 1.003 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.1867, allocations: 118.8 kB / 1.003 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1892, allocations: 2.36 MB / 1.005 GB, free: 340 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1895, allocations: 0.8312 MB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.1897, allocations: 79.34 kB / 1.006 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.1899, allocations: 127.4 kB / 1.006 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of SimCode: time 3.2e-07/0.1899, allocations: 0 / 1.006 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7238/0.9137, allocations: 7.882 MB / 1.014 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.914, allocations: 233.6 kB / 1.014 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.323, allocations: 4.062 kB / 1.014 GB, free: 7.379 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)