Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.391/1.391, allocations: 287.4 MB / 302.6 MB, free: 8.293 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.0008732/0.0008732, allocations: 185.8 kB / 371.1 MB, free: 10.84 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.209/1.209, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.000729/0.0007291, allocations: 82.36 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 11.22 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002574/0.163, allocations: 2.272 MB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1645, allocations: 1.268 MB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1647, allocations: 7.938 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.1649, allocations: 19.78 kB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.1652, allocations: 123.5 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1656, allocations: 134 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.1658, allocations: 303 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.1663, allocations: 301.9 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1664, allocations: 83.69 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1666, allocations: 119.6 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1667, allocations: 11.98 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1668, allocations: 63.89 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.1669, allocations: 55.88 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.1669, allocations: 57.58 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1671, allocations: 215.7 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1671, allocations: 4 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1671, allocations: 4 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.1671, allocations: 0 / 0.9836 GB, free: 23.02 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006107/0.1678, allocations: 475 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1678, allocations: 8.031 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.1679, allocations: 50.73 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.1683, allocations: 64.67 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1685, allocations: 239.8 kB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1685, allocations: 16.66 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1686, allocations: 12.38 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.169, allocations: 308.7 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.169, allocations: 0 / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.169, allocations: 11.98 kB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.1691, allocations: 28.25 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.1695, allocations: 268.5 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1707, allocations: 1.517 MB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.1711, allocations: 257.1 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1713, allocations: 137.6 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1713, allocations: 0 / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.1713, allocations: 38.5 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.1713, allocations: 0 / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006263/0.172, allocations: 357.3 kB / 0.9873 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.172, allocations: 81.11 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1721, allocations: 178.6 kB / 0.9875 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1721, allocations: 29.7 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.1722, allocations: 144.1 kB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1722, allocations: 51.23 kB / 0.9877 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.1723, allocations: 8 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.1723, allocations: 334.8 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1725, allocations: 99.94 kB / 0.9882 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1727, allocations: 171.6 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.1731, allocations: 284.4 kB / 0.9886 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1731, allocations: 0 / 0.9886 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004481/0.1736, allocations: 321.1 kB / 0.9889 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.1736, allocations: 144.9 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1736, allocations: 0 / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1737, allocations: 8 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.1739, allocations: 59.83 kB / 0.9891 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1739, allocations: 4 kB / 0.9891 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.1741, allocations: 35.81 kB / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1741, allocations: 12 kB / 0.9892 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-06/0.1742, allocations: 4 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003604/0.1745, allocations: 249.2 kB / 0.9894 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.1745, allocations: 0 / 0.9894 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.1745, allocations: 7.984 kB / 0.9894 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1747, allocations: 52.12 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1747, allocations: 11.94 kB / 0.9895 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1749, allocations: 31.81 kB / 0.9895 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1749, allocations: 8 kB / 0.9895 GB, free: 16.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/0.175, allocations: 221 kB / 0.9897 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.175, allocations: 15.81 kB / 0.9897 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.1755, allocations: 283 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1755, allocations: 0 / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1755, allocations: 4 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1755, allocations: 0 / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.1763, allocations: 0.685 MB / 0.9907 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1763, allocations: 4 kB / 0.9907 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.1765, allocations: 47.89 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1765, allocations: 8.125 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1765, allocations: 4 kB / 0.9907 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1765, allocations: 7.938 kB / 0.9908 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1765, allocations: 0 / 0.9908 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.177, allocations: 467.2 kB / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.177, allocations: 116.8 kB / 0.9913 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1771, allocations: 7.938 kB / 0.9913 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.1773, allocations: 27.91 kB / 0.9913 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1773, allocations: 15.98 kB / 0.9914 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1774, allocations: 4 kB / 0.9914 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.282e-05/0.1774, allocations: 127.2 kB / 0.9915 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1774, allocations: 0 / 0.9915 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003946/0.1778, allocations: 79.84 kB / 0.9916 GB, free: 14.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005668/0.1784, allocations: 1.002 MB / 0.9925 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005738/0.179, allocations: 376 kB / 0.9929 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.179, allocations: 0 / 0.9929 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.1792, allocations: 132.6 kB / 0.993 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.1796, allocations: 27.98 kB / 0.993 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1812, allocations: 1.268 MB / 0.9943 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.1814, allocations: 0.7479 MB / 0.995 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.1816, allocations: 77.47 kB / 0.9951 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.1817, allocations: 51.42 kB / 0.9951 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1817, allocations: 0 / 0.9951 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08313/0.2648, allocations: 3.789 MB / 0.9988 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.265, allocations: 209.4 kB / 0.999 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.333, allocations: 0 / 0.999 GB, free: 6.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)